M32:resetkey: Difference between revisions
Jump to navigation
Jump to search
Doom64hunter (talk | contribs) Created page with "resetkey <KEY_SC> If executed, will set the key status for the given scancode to 0. In other words, this will forcibly deactivate the given key when run, as if the key had never been hit. See also: M32:setkey Category:Mapster32 commands" |
Doom64hunter (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
If executed, will set the key status for the given scancode to 0. | If executed, will set the key status for the given scancode to 0. | ||
In other words, this will forcibly deactivate the given key when run, as if the key had never been hit. | In other words, this will forcibly deactivate the given key when run, as if the key had never been hit. Some keys are unaffected, see below. | ||
See also: [[M32:setkey]] | See also: [[M32:setkey]] | ||
== Scancodes == | |||
{{M32_Scancodes}} | |||
[[Category:Mapster32 commands]] | [[Category:Mapster32 commands]] |
Latest revision as of 12:30, 8 May 2022
resetkey <KEY_SC>
If executed, will set the key status for the given scancode to 0.
In other words, this will forcibly deactivate the given key when run, as if the key had never been hit. Some keys are unaffected, see below.
See also: M32:setkey
Scancodes
The following key scancodes are defined within Mapster32:
Defined Scancodes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Keyboard Layout from mapster32.cfg |
; Key Settings ; Here's a map of all the keyboard scan codes: NOTE: values are listed in hex! ; +---------------------------------------------------------------------------------------------+ ; | 01 3B 3C 3D 3E 3F 40 41 42 43 44 57 58 46 | ; |ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 SCROLL | ; | | ; |29 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E D2 C7 C9 45 B5 37 4A | ; | ` '1' '2' '3' '4' '5' '6' '7' '8' '9' '0' - = BACK INS HOME PGUP NUMLK KP/ KP* KP- | ; | | ; | 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 2B D3 CF D1 47 48 49 4E | ; |TAB Q W E R T Y U I O P [ ] \ DEL END PGDN KP7 KP8 KP9 KP+ | ; | | ; | 3A 1E 1F 20 21 22 23 24 25 26 27 28 1C 4B 4C 4D | ; |CAPS A S D F G H J K L ; ' ENTER KP4 KP5 KP6 9C | ; | KPENTER| ; | 2A 2C 2D 2E 2F 30 31 32 33 34 35 36 C8 4F 50 51 | ; |LSHIFT Z X C V B N M , . / RSHIFT UP KP1 KP2 KP3 | ; | | ; | 1D 38 39 B8 9D CB D0 CD 52 53 | ; |LCTRL LALT SPACE RALT RCTRL LEFT DOWN RIGHT KP0 KP. | ; +---------------------------------------------------------------------------------------------+ |
The following keys cannot be updated by ifhitkey, setkey or resetkey:
{ KEYSC_ESC, KEYSC_gENTER, KEYSC_LALT, KEYSC_RALT, KEYSC_LCTRL, KEYSC_RCTRL, KEYSC_LSHIFT, KEYSC_RSHIFT, KEYSC_BQUOTE, KEYSC_TILDE }