/linux/tools/testing/selftests/hid/tests/ |
H A D | base_gamepad.py | 74 def store_axes(self, which, gamepad, data): argument 77 setattr(gamepad, amap["x"].hid, x) 78 setattr(gamepad, amap["y"].hid, y) 138 gamepad = GamepadData() 140 gamepad.__setattr__(f"b{i}", int(b) if b is not None else 0) 142 self.store_axes("left_stick", gamepad, left) 143 self.store_axes("right_stick", gamepad, right) 144 gamepad.hatswitch = hat_switch # type: ignore ### gamepad is by default empty 146 gamepad, reportID=reportID, application=application 237 def store_right_joystick(self, gamepad, data): argument [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | adafruit,seesaw-gamepad.yaml | 4 $id: http://devicetree.org/schemas/input/adafruit,seesaw-gamepad.yaml# 7 title: Adafruit Mini I2C Gamepad with seesaw 13 Adafruit Mini I2C Gamepad 28 Datasheet: https://cdn-learn.adafruit.com/downloads/pdf/gamepad-qt.pdf 34 const: adafruit,seesaw-gamepad 42 The gamepad's IRQ pin triggers a rising edge if interrupts are enabled. 59 compatible = "adafruit,seesaw-gamepad";
|
/linux/drivers/input/joystick/ |
H A D | Kconfig | 9 If you have a joystick, 6dof controller, gamepad, steering wheel, 69 tristate "Creative Labs Blaster Cobra gamepad" 72 Say Y here if you have a Creative Labs Blaster Cobra gamepad. 82 communicating joystick or gamepad. 191 tristate "Gravis Stinger gamepad" 227 Say Y here if you have a Sega Master System gamepad, Sega Genesis 228 gamepad, Sega Saturn gamepad, or a Multisystem -- Atari, Amiga, 241 Say Y here if you have a Nintendo Entertainment System gamepad, 242 Super Nintendo Entertainment System gamepad, Nintendo 64 gamepad, 243 Sony PlayStation gamepad or a Multisystem -- Atari, Amiga, [all …]
|
H A D | adafruit-seesaw.c | 5 * Driver for Adafruit Mini I2C Gamepad 10 * Datasheet: https://cdn-learn.adafruit.com/downloads/pdf/gamepad-qt.pdf 27 #define SEESAW_DEVICE_NAME "seesaw-gamepad" 245 dev_dbg(&client->dev, "Adafruit Seesaw Gamepad, Hardware ID: %02x\n", in seesaw_probe() 268 seesaw->input_dev->name = "Adafruit Seesaw Gamepad"; in seesaw_probe() 313 { .compatible = "adafruit,seesaw-gamepad"}, 329 MODULE_DESCRIPTION("Adafruit Mini I2C Gamepad driver");
|
H A D | grip_mp.c | 3 * Driver for the Gravis Grip Multiport, a gamepad "hub" that 44 /* individual gamepad states */ 80 * Gamepad configuration data. Other 9-pin digital joystick devices 349 * Packet structure: B0-B15 => gamepad state 350 * B16-B20 => gamepad device type 379 /* Ignore non-gamepad packets, e.g. multiport hardware version */ in get_and_decode_packet() 389 * are removed or plugged in. May contain configuration of a new gamepad. in get_and_decode_packet() 581 * Tell the linux input layer about a newly plugged-in gamepad.
|
H A D | xpad.c | 3 * Xbox gamepad driver 19 * - Xbox 360 information http://www.free60.org/wiki/Gamepad 144 { 0x044f, 0xb326, "Thrustmaster Gamepad GP XID", 0, XTYPE_XBOX360 }, 161 { 0x046d, 0xc21d, "Logitech Gamepad F310", 0, XTYPE_XBOX360 }, 162 { 0x046d, 0xc21e, "Logitech Gamepad F510", 0, XTYPE_XBOX360 }, 163 { 0x046d, 0xc21f, "Logitech Gamepad F710", 0, XTYPE_XBOX360 }, 174 { 0x062a, 0x0020, "Logic3 Xbox GamePad", 0, XTYPE_XBOX }, 195 { 0x0738, 0x4736, "Mad Catz MicroCon Gamepad", 0, XTYPE_XBOX360 }, 205 { 0x0738, 0xbeef, "Mad Catz JOYTECH NEO SE Advanced GamePad", XTYPE_XBOX360 }, 210 { 0x07ff, 0xffff, "Mad Catz GamePad", 0, XTYPE_XBOX360 }, [all …]
|
H A D | cobra.c | 7 * Creative Labs Blaster GamePad Cobra driver for Linux 17 #define DRIVER_DESC "Creative Labs Blaster GamePad Cobra driver" 186 input_dev->name = "Creative Labs Blaster GamePad Cobra"; in cobra_connect()
|
H A D | stinger.c | 8 * Gravis Stinger gamepad driver for Linux 17 #define DRIVER_DESC "Gravis Stinger gamepad driver"
|
H A D | grip.c | 7 * Gravis/Kensington GrIP protocol joystick and gamepad driver for Linux 54 static char *grip_name[] = { NULL, "Gravis GamePad Pro", "Gravis Blackhawk Digital", 62 * grip_gpp_read_packet() reads a Gravis GamePad Pro packet.
|
H A D | gamecon.c | 3 * NES, SNES, N64, MultiSystem, PSX gamepad driver for Linux 26 MODULE_DESCRIPTION("NES, SNES, N64, MultiSystem, PSX gamepad driver"); 320 16 bits are equivalent to a gamepad */ 403 * gamepad is connected. This is important since in gc_nes_process_packet() 404 * my SNES gamepad sends 1's for bits 16-31, which in gc_nes_process_packet()
|
H A D | analog.c | 7 * Analog joystick and gamepad driver for Linux 23 #define DRIVER_DESC "Analog joystick and gamepad driver" 356 seq_buf_printf(&s, (analog->mask & ANALOG_GAMEPAD) ? " gamepad" : " joystick"); in analog_name() 648 { "gamepad", 0x000830f3 },
|
H A D | adi.c | 55 "WingMan Interceptor", "WingMan Formula", "WingMan GamePad", 56 "WingMan Extreme Digital 3D", "WingMan GamePad Extreme", 57 "WingMan GamePad USB", "Unknown Device %#x" };
|
H A D | tmdc.c | 84 { 3, "ThrustMaster Rage 3D Gamepad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad }, 87 { 163, "Thrustmaster Fusion GamePad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad },
|
/linux/drivers/hid/ |
H A D | hid-playstation.c | 153 struct input_dev *gamepad; member 368 struct input_dev *gamepad; member 515 * Common gamepad buttons across DualShock 3 / 4 and DualSense. 713 struct input_dev *gamepad; in ps_gamepad_create() local 717 gamepad = ps_allocate_input_dev(hdev, NULL); in ps_gamepad_create() 718 if (IS_ERR(gamepad)) in ps_gamepad_create() 719 return ERR_CAST(gamepad); in ps_gamepad_create() 721 input_set_abs_params(gamepad, ABS_X, 0, 255, 0, 0); in ps_gamepad_create() 722 input_set_abs_params(gamepad, ABS_Y, 0, 255, 0, 0); in ps_gamepad_create() 723 input_set_abs_params(gamepad, ABS_Z, 0, 255, 0, 0); in ps_gamepad_create() [all …]
|
H A D | hid-pl.c | 13 * - tested with König Gaming gamepad 15 * 0e8f:0003 "GASIA USB Gamepad" 16 * - another version of the König gamepad
|
H A D | hid-betopff.c | 14 * 0x8380:0x1850 "BTP2185 V2 PC mode USB Gamepad"
|
H A D | hid-axff.c | 9 * 1a34:0802 "ACRUX USB GAMEPAD 8116"
|
/linux/Documentation/input/ |
H A D | gamepad.rst | 2 Linux Gamepad Specification 10 Linux provides many different input drivers for gamepad hardware. To avoid 11 having user-space deal with different button-mappings for each gamepad, this 16 As "gamepad" we define devices which roughly look like this:: 70 an alias for BTN_SOUTH/BTN_A. It can be used to identify a gamepad as such. 85 and one analog stick. It reports them as if it were a gamepad with only one 91 No other devices, that do not look/feel like a gamepad, shall report these 101 Every gamepad device has at least 2 action buttons. This means, that every 132 Every gamepad provides a D-Pad with four directions: Up, Down, Left, Right
|
H A D | input_uapi.rst | 15 gamepad
|
/linux/Documentation/input/joydev/ |
H A D | joystick.rst | 89 options analog map=gamepad,none,2btn 183 gamepad 4/6-button n-axis gamepad 184 gamepad8 8-button 2-axis gamepad 213 19 GamePad 222 31 Joy2 GamePad 235 * Microsoft SideWinder GamePad (up to four, chained) 263 * Logitech WingMan GamePad 264 * Logitech WingMan GamePad USB 265 * Logitech WingMan GamePad Extreme 285 * Gravis GamePad Pro [all …]
|
/linux/drivers/input/misc/ |
H A D | ims-pcu.c | 110 struct ims_pcu_gamepad *gamepad; member 258 * Gamepad Input device support * 263 struct ims_pcu_gamepad *gamepad = pcu->gamepad; in ims_pcu_gamepad_report() local 264 struct input_dev *input = gamepad->input; in ims_pcu_gamepad_report() 285 struct ims_pcu_gamepad *gamepad; in ims_pcu_setup_gamepad() local 289 gamepad = kzalloc(sizeof(*gamepad), GFP_KERNEL); in ims_pcu_setup_gamepad() 291 if (!gamepad || !input) { in ims_pcu_setup_gamepad() 293 "Not enough memory for gamepad device\n"); in ims_pcu_setup_gamepad() 298 gamepad->input = input; in ims_pcu_setup_gamepad() 300 snprintf(gamepad->name, sizeof(gamepad->name), in ims_pcu_setup_gamepad() [all …]
|
/linux/drivers/input/gameport/ |
H A D | Kconfig | 10 have a joystick, gamepad, gameport card, a soundcard with a gameport
|
/linux/arch/powerpc/boot/dts/ |
H A D | gamecube.dts | 94 gamepad-controller@c006400 {
|
/linux/Documentation/input/devices/ |
H A D | joystick-parport.rst | 52 input lines is assigned to each gamepad. 64 some data pin. For most gamepad and parport implementations only one pin is 115 connectors. Anyway, if you've got a gamepad, and it has buttons A, B, Turbo 237 was written. It allows only one joystick / gamepad per parallel port, but
|
/linux/drivers/hid/bpf/progs/ |
H A D | Microsoft__Xbox-Elite-2.bpf.c | 28 * - We need an application collection of gamepad (so we have to close the current
|