I found a variable sort of thing, i''m really not familiar with, but it allows you to read a key that is being pressed by using the GetAsyncKeyState() function, i know it gets the keys state.... blah, to make a short story shorter this is what it looks like when defined.
#define KEY_DOWN(x) GetAsyncKeyState(x)&0x8000
i was wondering if i could use the same idea to get the key state as not being pressed. so it would be KEY_UP sort of value.
- king171@hotmail.com
- http://www.cfxweb.net/mxf/
Key_Up(x)
can''t you just go like..
#define KEY_UP(x) !(GetAsyncKeyState(x)&0x8000)
#define KEY_UP(x) !(GetAsyncKeyState(x)&0x8000)
-werdup-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement