hi i want to write a code in which we can change the ascii codes of keyboard in C++. but cant get the logic....can anybody help me??
Look the ascii code would be same...The only thing u can do is u can map the original codes to your custom codes....But doing so would not be helpful for u..so for what r u trying to do so??
hi i dont konw what you wanna do but i think this can help you Code: char key, key1; key= getch(); if (!key) key1= getch(); if (key== char(65) && key1== char(0)) cout<< "The ascii code is 65"; Be successful
Why don't you give it a try because I think what Isa has suggested is what I understand from his original question.
so I thinking. and understand that the ackii code cant chang! and you just can chang its meaning. what did you think? (maybe just in the computer and compiler that I have) OK!
U can use low lever keyboard hooks for this... but m not sure k u can do in linux environment... in VC++ using "windows.h" u can do that.... just search low level keyboard hook on google.. and u surely will get some useful information.. if u want I can share full program....