#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/module.h>
#include <linux/usb/input.h>
Go to the source code of this file.
|
| module_param (dpad_to_buttons, bool, S_IRUGO) |
|
| MODULE_PARM_DESC (dpad_to_buttons,"Map D-PAD to buttons rather than axes for unknown pads") |
|
| module_param (triggers_to_buttons, bool, S_IRUGO) |
|
| MODULE_PARM_DESC (triggers_to_buttons,"Map triggers to buttons rather than axes for unknown pads") |
|
| module_param (sticks_to_null, bool, S_IRUGO) |
|
| MODULE_PARM_DESC (sticks_to_null,"Do not map sticks at all for unknown pads") |
|
| MODULE_DEVICE_TABLE (usb, xpad_table) |
|
| module_usb_driver (xpad_driver) |
|
| MODULE_AUTHOR (DRIVER_AUTHOR) |
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
| MODULE_LICENSE ("GPL") |
|
#define DANCEPAD_MAP_CONFIG |
Value:
Definition at line 93 of file xpad.c.
#define MAP_DPAD_TO_BUTTONS (1 << 0) |
#define MAP_STICKS_TO_NULL (1 << 2) |
#define MAP_TRIGGERS_TO_BUTTONS (1 << 1) |
#define XPAD_XBOX360_VENDOR |
( |
|
vend | ) |
|
Value:
Definition at line 234 of file xpad.c.
#define XPAD_XBOX360_VENDOR_PROTOCOL |
( |
|
vend, |
|
|
|
pr |
|
) |
| |
Value:
Definition at line 228 of file xpad.c.
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
xpad_table |
|
|
) |
| |
MODULE_PARM_DESC |
( |
triggers_to_buttons |
, |
|
|
"Map triggers to buttons rather than axes for unknown pads" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
sticks_to_null |
, |
|
|
"Do not map sticks at all for unknown pads" |
|
|
) |
| |
module_usb_driver |
( |
xpad_driver |
| ) |
|