i want to write a code in C++ in which when i Press a key...it displays the letter which i have set in my code for dat key.....it means a program that changes the ascii code of a keyboard.....tell me the logic how can i do that??????
how can i change ascii code of my keyboard using a c++ program????
Started by ryathegr8, Sep 28 2010 07:06 AM
1 reply to this topic
#1
Posted 28 September 2010 - 07:06 AM
|
|
|
#2
Posted 28 September 2010 - 12:15 PM
You can't change the code that the keyboard sends (for most keyboards). You can, on the other hand, intercept the keypress and translate it into something else.
So the logic of it is:
Create a keypress handler.
Attach handler to keypress event
If you wanted more help, I'd ask in the C and C++ forum, as this is the C# forum.
So the logic of it is:
Create a keypress handler.
Attach handler to keypress event
If you wanted more help, I'd ask in the C and C++ forum, as this is the C# forum.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









