02-28-2009, 02:11 AM
Detecting shift with wait for key
|
02-28-2009, 02:27 AM
ifk((VK_SHIFT))
soemthing like that you will need to use
02-28-2009, 02:52 PM
03-04-2009, 02:48 AM
I am trying to remap 4 keys to behave as another key(Ex. Push <w> screen types "e"). What is ouputted can be any key, and when using RegisterHotkey if a programmed key's value is another programmed key, the first programmed key triggers the third (Ex push <w>, triggers <e> push, does not output "e").
03-04-2009, 08:21 AM
To remap keys can be used keyboard triggers, unless you want to remap many keys.
----------- wait() does not have an option to wait for several keys eg Shift+F8. Your code does not work because when Shift is pressed it presses/releases (key (input)) Shift and therefore it is not pressed when F8 arrives. ----------- To have full control, use keyboard hook. Function remap_keyboard_LL_hook function nCode wParam KBDLLHOOKSTRUCT&h |
« Next Oldest | Next Newest »
|
Users browsing this thread: 4 Guest(s)