switching keyboard input
-
I've been using a standard (qwerty) keyboard and allowing XP to switch it to the Dvorak layout. For those that don't know, that is just the same keyboard with the keys rearranged (ex. I type r and get p). Sadly, XP wont carry this into some games, so I've decided to write a program that will re-interpret the keydown messages the games are getting. I was just wondering if someone could give me some hints on where to start looking for examples on this sort of thing. Would this require hooks (I've never made one)? Optimomally, the program would work like a program I downloaded today for getting sound from old dos games, where you just right click the exe and it does something with a DLL to the exe. Thanks! If you have a problem with my spelling, just remember that's not my fault. I (as well as everyone else who learned to spell after 1976) blame it on Robert A. Kolpek for U.S. Patent 4,136,395.
-
I've been using a standard (qwerty) keyboard and allowing XP to switch it to the Dvorak layout. For those that don't know, that is just the same keyboard with the keys rearranged (ex. I type r and get p). Sadly, XP wont carry this into some games, so I've decided to write a program that will re-interpret the keydown messages the games are getting. I was just wondering if someone could give me some hints on where to start looking for examples on this sort of thing. Would this require hooks (I've never made one)? Optimomally, the program would work like a program I downloaded today for getting sound from old dos games, where you just right click the exe and it does something with a DLL to the exe. Thanks! If you have a problem with my spelling, just remember that's not my fault. I (as well as everyone else who learned to spell after 1976) blame it on Robert A. Kolpek for U.S. Patent 4,136,395.
Buy a DvortyBoards keyboard, so you can switch hardwarily between the two. You won't regret it. - Jason (SonorkID 100.611) The Code Project - Orange makes the art grow fonder