The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Scan Rates Negm AIX 2 04-16-2009 10:29 AM
scan and move tjmannonline UNIX for Dummies Questions & Answers 3 03-10-2009 06:21 AM
how i prepare a c++ code(c code) for implementing my own protocol format amitpansuria High Level Programming 1 09-06-2007 11:09 PM
How can I map Unix keyboard for PC keyboard simhab UNIX for Advanced & Expert Users 1 03-06-2002 11:29 AM
IP Name scan nicke30 UNIX for Dummies Questions & Answers 2 07-18-2001 05:32 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-04-2009
liuyan03 liuyan03 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 14
Is scan code of every key fixed in all keyboard

Hi everyone,

Is scan code of every key fixed in all keyboard or

different keyboard has different scan code for every key?

Thank you in advance!
  #2 (permalink)  
Old 05-04-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
For PS-2 keyboards, I think this is fixed. For USB keyboards, I believe it's possible that they can be programmed to do different things with different keys, so it's not possible to completely generalize.

Different keyboard manufacturers also produce different special keys with their own scan codes. For instance, my Microsoft keyboard has keys for volume control, a button for the calculator, and handy buttons for email, home page and search. Each of these has its own scan code, and that scan code might or might not be on another keyboard.

However, the others are almost always the same. This includes F1 through F10, as on the original PC, and maybe now F11 and F12 which have been standard since the mid-80's.
  #3 (permalink)  
Old 05-05-2009
liuyan03 liuyan03 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 14
Dear otheus,

Thank you for your great information!

I'll do dome experiments on this following your guide.
Closed Thread

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0