QuestionNeed some Hotkeys for c++

Posts 14 of 4 · Page 1 of 1
Need some Hotkeys for c++
Hi guys... i need some hotkeys for my hack. and i googleed to ßut found nothing does anyone know the hotkey for :
- (numpad)
+(numpad)
,(numpad)

i use a german keyboard and i think on e nglish keyboards are the keys diffrent ... look at the picture

thats a german keyboard (u can zoom it )

thanks to all
hmm try speaking to a experienced coder id suggest xfaith a really helpful guy =)
Lol completely missed this.
Well I believe its the same way for an american keyboard as a German one. Just use GetAsyncKeyState(); Since C++ only uses english the keys will probably for the most part work on the same letter with a little difference here take this:

Code:
#include <iostream.h>
#include <windows.h>
using namespace std;
int main()
{
 char buf[50] = "\0";
 while(1)
 {
  for(int i = 0; i < 256; i++)
  {
   if(GetAsyncKeyState(i))cout<<"You key code is: " << itoa(i,buf,16) <<endl;
  }
  Sleep(200);
 }
}
EDIT: tested it code works. outputs in hex since key codes are in hex. =/
This way every time you press a key you can see the exact key code that was generated and compare it to the list of key codes here: http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
From here out you shouldnt have any problems.
Even then just activate Microsoft IME to make your computer emulate a purely American keyboard.
~
Posts 14 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?