Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm wondering if it is possible to change the actual scan codes that a keyboard generates? I don't mean how they are interpreted (aka remaped), I mean the actual codes that come out of the keyboard.

The reasons. I have a great little keyboard that took me a long time to find. It is small, and comfortable, and distinct... but it has a few keys that I'd like switched out. Like I never ever ever use prt screen or break, but they are part of the un-functioned set. The home and end keys are however part of every coders every day... and they are under the left and right arrow.... (I don't press the "windows" button or the context menu button either)

I switch the keyboard between 3 computers (various sites) and 2 os's, so changing the mapping on the system isn't practical.

Does anyone know where I could go to figure out how to remap the key-scan-codes on the actual hardware(keyboard)?

share|improve this question

You would have to change the keyboard essentially, either by reprogramming it or swapping the innards out.

This hack acts as a custom HID device and can be used as one example.

Otherwise, I think it was well answered here:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .