473,396 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

getting scancodes

Anyone knows if its possible to get scan codes ???
I tried with getch () but with no success, just keycodes.
May be using the something in the sys.stdin module ??

Pleasee, any help would be very appreciated.

--
Andrés M.
---------------------------------------------
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
---------------------------------------------
Apr 24 '07 #1
10 2005
On 2007-04-24, an******@gmail.com <an******@gmail.comwrote:
Anyone knows if its possible to get scan codes ???
What hardware? What OS?
I tried with getch () but with no success, just keycodes.
May be using the something in the sys.stdin module ??

Please, any help would be very appreciated.
You're going to have to be a little more specific...

--
Grant Edwards grante Yow! I'm encased in the
at lining of a pure pork
visi.com sausage!!
Apr 24 '07 #2
On Tue, Apr 24, 2007 at 04:40:11AM -0000, Grant Edwards wrote:
On 2007-04-24, an******@gmail.com <an******@gmail.comwrote:
Anyone knows if its possible to get scan codes ???

What hardware? What OS?
Debian Sarge/Etch, i386..

:P
Molte grazie.
Andres M.
>
I tried with getch () but with no success, just keycodes.
May be using the something in the sys.stdin module ??

Please, any help would be very appreciated.

You're going to have to be a little more specific...
Apr 24 '07 #3
an******@gmail.com wrote:
On Tue, Apr 24, 2007 at 04:40:11AM -0000, Grant Edwards wrote:
>On 2007-04-24, an******@gmail.com <an******@gmail.comwrote:
Anyone knows if its possible to get scan codes ???

What hardware? What OS?

Debian Sarge/Etch, i386..

:P
Greeeeeaaaat. Now we only need to guess what scan code reader you use....

Apr 24 '07 #4
Diez B. Roggisch wrote:
an******@gmail.com wrote:
>On Tue, Apr 24, 2007 at 04:40:11AM -0000, Grant Edwards wrote:
>>On 2007-04-24, an******@gmail.com <an******@gmail.comwrote:

Anyone knows if its possible to get scan codes ???
What hardware? What OS?
Debian Sarge/Etch, i386..

:P

Greeeeeaaaat. Now we only need to guess what scan code reader you use....
I believe he his referring to keyboard scancodes not a scanner.

-Larry
Apr 24 '07 #5
Diez B. Roggisch wrote:
an******@gmail.com wrote:
>On Tue, Apr 24, 2007 at 04:40:11AM -0000, Grant Edwards wrote:
>>On 2007-04-24, an******@gmail.com <an******@gmail.comwrote:

Anyone knows if its possible to get scan codes ???
What hardware? What OS?
Debian Sarge/Etch, i386..

:P

Greeeeeaaaat. Now we only need to guess what scan code reader you use....
I think he's talking about *keyboard* scan codes. Not barcodes.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com

Apr 24 '07 #6
On Apr 23, 7:39 pm, andma...@gmail.com wrote:
Anyone knows if its possible to get scan codes ???
I tried with getch () but with no success, just keycodes.
May be using the something in the sys.stdin module ??

Pleasee, any help would be very appreciated.

--
Andrés M.
---------------------------------------------
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
---------------------------------------------
Looks like there's a thread from 2003 on this subject. Check it out
here: http://www.thescripts.com/forum/thread20311.html

Mike

Apr 24 '07 #7
On Tue, Apr 24, 2007 at 09:32:29AM -0500, Larry Bates wrote:
Diez B. Roggisch wrote:
an******@gmail.com wrote:
On Tue, Apr 24, 2007 at 04:40:11AM -0000, Grant Edwards wrote:
On 2007-04-24, an******@gmail.com <an******@gmail.comwrote:

Anyone knows if its possible to get scan codes ???
What hardware? What OS?
Debian Sarge/Etch, i386..

:P
Greeeeeaaaat. Now we only need to guess what scan code reader you use....

I believe he his referring to keyboard scancodes not a scanner.

-Larry
Both Larry and Steve are right. ;)

Anyone knows how to? Any clue?

Thanks
Andrés M.
Apr 24 '07 #8
On 24 avr, 02:39, andma...@gmail.com wrote:
Anyone knows if its possible to get scan codes ???
I tried with getch () but with no success, just keycodes.
May be using the something in the sys.stdin module ??

Pleasee, any help would be very appreciated.

--
Andrés M.
---------------------------------------------
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
---------------------------------------------
On windows, you have this package
http://newcenturycomputers.net/projects/wconio.html

Ph DALET
FRANCE

Apr 24 '07 #9
On Tue, Apr 24, 2007 at 07:41:38AM -0700, ky******@gmail.com wrote:
On Apr 23, 7:39 pm, andma...@gmail.com wrote:
Anyone knows if its possible to get scan codes ???
I tried with getch () but with no success, just keycodes.
May be using the something in the sys.stdin module ??

Pleasee, any help would be very appreciated.

--
Andrés M.
---------------------------------------------
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
---------------------------------------------

Looks like there's a thread from 2003 on this subject. Check it out
here: http://www.thescripts.com/forum/thread20311.html
Yes, I saw it; but didnt help at all. :(
You have to be root to use the first one. And the second its for
Windows. I use debian, and other linux distros.

Ciao.
Andrés M.
Apr 24 '07 #10
On Apr 23, 8:39 pm, andma...@gmail.com wrote:
Anyone knows if its possible to get scan codes ???
I tried with getch () but with no success, just keycodes.
May be using the something in the sys.stdin module ??
is this what you're looking for?
http://cheeseshop.python.org/pypi/sysio/1.0

and sys.stdin isn't a module. it's a file.

Apr 25 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mikkel Holm Olsen | last post by:
Hello everyone, Does someone know of a way to handle both keypress and release in a Linux-console (not X) from Perl? It seems this is the only way I'll be able to have keyboard-repeat for some...
2
by: Eyal | last post by:
Hey, I would appriciate if anyone can help on this one: I have a java object/inteface having a method with a boolean parameter. As I'm trying to call this method from a javascript it fails on...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
0
by: Si | last post by:
I'm writing an HttpModule to intecept web method calls and retrieve custom authentication information from their SOAP headers. I have the httpModules tag in web.config and that appears to be...
3
by: dei3cmix | last post by:
Hey, I am having a problem with a program I am working on. Basically, the first part of the program gets input from a file using cin.getline. Then the second part, (still in the same main as the...
2
by: MSK | last post by:
Hi, Continued to my earlier post regaring "Breakpoints are not getting hit" , I have comeup with more input this time.. Kindly give me some idea. I am a newbie to .NET, recently I installed...
4
by: R.Manikandan | last post by:
Hi In my code, one string variable is subjected to contain more amount of characters. If it cross certain limit, the string content in the varabile is automatically getting truncated and i am...
4
by: imaloner | last post by:
I am posting two threads because I have two different problems, but both have the same background information. Common Background Information: I am trying to rebuild code for a working,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.