SunQuest
 
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old August 3rd, 2004, 07:26 AM
Chef Groovy Chef Groovy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 4 Chef Groovy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
readng keyboard scancodes (real ones not virtual)

Anyone know a way to get the real, set 2 scan codes for a keypress? I don't mean the microsoft "virtual code" (KeyCode) given by the KeyDown event, KeyAscii from the KeyPress event won't cut it either. I mean the actual string of make/break codes, "E0 12 E0 7C E0 F0 7C E0 F0 12" is Print Screen, the down cursor is "E0 72 E0 F0 72" for example.

I currently do it under DOS in C with test KB plugged into the mouseport, but wanted something that would work in win98+, since I can make the interfaces look lot better.

In case you wondering why I need this, I work in a keyboard factory, and we send some keyboards out preprogrammed. Some people want the F13 key to actually send a shift-F1 scancode or Linux folks like the ctrl and caps lock key reversed for example, and don't get me started on those esentric AS/400 users with thier custom keyboards hahah We need to verify that the programming took 100% before shipping.

I've searched high and low, but that darned MS keyboard driver stops me cold everytime.

Any ideas?

Dan

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > readng keyboard scancodes (real ones not virtual)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway