Zitat von PowerMode2003 Readme
3) 0004:KEY
This is used to check pressed keys. It has 2 modes of operation:
1.When writing 0 – the whole keyboard is checked.
2.When writing the keycode – only the corresponding key is checked.
In both cases the returning value is 0 when there are no keys pressed, otherwise the keycode of the pressed key is returned. Codes used are standard Windows Virtual Keycodes (see included keycode.doc for the full list).
The first mode is for a “press any key”-style checks – e.g. password/name typing, etc. Multiple keypresses are processed incorrectly when using this mode (keys with the lower keycodes will have priority over keys with the bigger) => use mode 2 when making “combo” systems or anything else which requires simulateous input of a multiple number of keys.
...