1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
#include "overrides.h"
static const struct core_override_option prboom_core_option_overrides[] = {
{
.key = "prboom-resolution",
.blocked = true,
},
{
.key = "prboom-mouse_on",
.blocked = true,
},
{
.key = "prboom-find_recursive_on",
.desc = "Scan for IWADs",
.info = "Scans parent folders for IWADs. NOTE: You need to disable this if you want to run SIGIL."
},
{
.key = "prboom-rumble",
.blocked = true,
},
{
.key = "prboom-analog_deadzone",
.blocked = true,
},
{ NULL }
};
#ifdef FUNKEY_S
/* DrUm78 build */
me_bind_action prboom_ctrl_actions[] =
{
{ "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
{ "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
{ "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
{ "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
{ "USE ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
{ "TGL RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
{ "FIRE ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
{ "STRAFE ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
{ "MENU ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
{ "MAP ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
{ "PREV WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
{ "NEXT WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
{ "RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_L3 },
{ NULL, 0 }
};
#else
me_bind_action prboom_ctrl_actions[] =
{
{ "UP ", 1 << RETRO_DEVICE_ID_JOYPAD_UP},
{ "DOWN ", 1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
{ "LEFT ", 1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
{ "RIGHT ", 1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
{ "USE ", 1 << RETRO_DEVICE_ID_JOYPAD_A },
{ "STRAFE ", 1 << RETRO_DEVICE_ID_JOYPAD_B },
{ "FIRE ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
{ "RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_Y },
{ "MENU ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
{ "MAP ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
{ "STRAFE L ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
{ "STRAFE R ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
{ "PREV WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_L2 },
{ "NEXT WPN ", 1 << RETRO_DEVICE_ID_JOYPAD_R2 },
{ "TGL RUN ", 1 << RETRO_DEVICE_ID_JOYPAD_L3 },
{ "180 TURN ", 1 << RETRO_DEVICE_ID_JOYPAD_R3 },
{ NULL, 0 }
};
#endif
#define prboom_overrides { \
.core_name = "prboom", \
.actions = prboom_ctrl_actions, \
.action_size = array_size(prboom_ctrl_actions), \
.options = prboom_core_option_overrides, \
.needs_reopen = 1 \
}
|