Results 1 to 3 of 3
  1. #1
    scriptkiddy's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Canada
    Posts
    67
    Reputation
    12
    Thanks
    63

    [Help] GetAsyncKeyState(??) = X??

    So, can anybody give me a list of keystates?

    For example: 0x4D = 'M'

    What is X and A? i need it for a recoil hack I am making, searched everywhere, its way easier to do in C#. lol, anyway, can anybody tell me what X =?

  2. #2
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    GetAsyncKeyState((int)'a'-32);
    a is 97 decimal
    0x41(a according to msdn) is 65 decimal
    97-65=32
    so:
    GetAsyncKeyState((int)'x'-32); works, but you must use lowercase chars with my method
    Last edited by Hell_Demon; 10-12-2009 at 11:13 AM.
    Ah we-a blaze the fyah, make it bun dem!

  3. #3
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical

  4. The Following 2 Users Say Thank You to B1ackAnge1 For This Useful Post:

    Hell_Demon (10-12-2009),why06 (10-12-2009)

Similar Threads

  1. [Help] GetAsyncKeyState Entry point not found.
    By blaise10 in forum Visual Basic Programming
    Replies: 5
    Last Post: 04-20-2011, 10:20 AM
  2. [Help]GetAsyncKeyState In VB2010 ?[Solved]
    By **HACKER** in forum Visual Basic Programming
    Replies: 8
    Last Post: 03-09-2011, 08:51 AM
  3. [Help]GetAsynckeyState doesn't work for hotkey[Solved]
    By Withoutwings in forum Visual Basic Programming
    Replies: 9
    Last Post: 02-13-2011, 09:39 PM
  4. A little help [GetAsyncKeyState]
    By MasterOrc in forum C++/C Programming
    Replies: 10
    Last Post: 01-13-2011, 12:00 PM
  5. [Help]GetAsyncKeyState
    By MintSlice in forum Visual Basic Programming
    Replies: 7
    Last Post: 03-22-2010, 10:49 AM

Tags for this Thread