Skip to content

Enum "ButtonAction"⚓︎

DLC Value Enumerator Comment
0 ACTION_LEFT
1 ACTION_RIGHT
2 ACTION_UP
3 ACTION_DOWN
4 ACTION_SHOOTLEFT
5 ACTION_SHOOTRIGHT
6 ACTION_SHOOTUP
7 ACTION_SHOOTDOWN
8 ACTION_BOMB
9 ACTION_ITEM
10 ACTION_PILLCARD
11 ACTION_DROP
12 ACTION_PAUSE Can only be detected when holding P after closing the pause menu; Isn't polled by MC_INPUT_ACTION
13 ACTION_MAP TAB on keyboard; Select on controller
14 ACTION_MENUCONFIRM Enter on keyboard; A on Controller
15 ACTION_MENUBACK Esc on keyboard; B on Controller
16 ACTION_RESTART
17 ACTION_FULLSCREEN
18 ACTION_MUTE
19 ACTION_JOINMULTIPLAYER
20 ACTION_MENULEFT same as walk left
21 ACTION_MENURIGHT same as walk right
22 ACTION_MENUUP same as walk up
23 ACTION_MENUDOWN same as walk down
24 ACTION_MENULT Left trigger
25 ACTION_MENURT Right trigger
26 ACTION_MENUTAB TAB on keyboard; X on controller
28 ACTION_CONSOLE USE ONLY FOR HOOKING! To check the input use IsButtonTriggered with desired key

Last update: January 6, 2023