diff options
Diffstat (limited to 'drivers/input/joystick')
-rw-r--r-- | drivers/input/joystick/xpad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 32bbd4c77b7c..fd7a0d5bc94d 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c | |||
@@ -98,15 +98,15 @@ | |||
98 | #define XTYPE_XBOX360W 2 | 98 | #define XTYPE_XBOX360W 2 |
99 | #define XTYPE_UNKNOWN 3 | 99 | #define XTYPE_UNKNOWN 3 |
100 | 100 | ||
101 | static int dpad_to_buttons; | 101 | static bool dpad_to_buttons; |
102 | module_param(dpad_to_buttons, bool, S_IRUGO); | 102 | module_param(dpad_to_buttons, bool, S_IRUGO); |
103 | MODULE_PARM_DESC(dpad_to_buttons, "Map D-PAD to buttons rather than axes for unknown pads"); | 103 | MODULE_PARM_DESC(dpad_to_buttons, "Map D-PAD to buttons rather than axes for unknown pads"); |
104 | 104 | ||
105 | static int triggers_to_buttons; | 105 | static bool triggers_to_buttons; |
106 | module_param(triggers_to_buttons, bool, S_IRUGO); | 106 | module_param(triggers_to_buttons, bool, S_IRUGO); |
107 | MODULE_PARM_DESC(triggers_to_buttons, "Map triggers to buttons rather than axes for unknown pads"); | 107 | MODULE_PARM_DESC(triggers_to_buttons, "Map triggers to buttons rather than axes for unknown pads"); |
108 | 108 | ||
109 | static int sticks_to_null; | 109 | static bool sticks_to_null; |
110 | module_param(sticks_to_null, bool, S_IRUGO); | 110 | module_param(sticks_to_null, bool, S_IRUGO); |
111 | MODULE_PARM_DESC(sticks_to_null, "Do not map sticks at all for unknown pads"); | 111 | MODULE_PARM_DESC(sticks_to_null, "Do not map sticks at all for unknown pads"); |
112 | 112 | ||