Home
last modified time | relevance | path

Searched refs:gamepad (Results 1 – 19 of 19) sorted by relevance

/linux-6.15/tools/testing/selftests/hid/tests/
H A Dbase_gamepad.py74 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-6.15/drivers/hid/
H A Dhid-playstation.c153 struct input_dev *gamepad; member
368 struct input_dev *gamepad; member
713 struct input_dev *gamepad; in ps_gamepad_create() local
718 if (IS_ERR(gamepad)) in ps_gamepad_create()
719 return ERR_CAST(gamepad); in ps_gamepad_create()
745 return gamepad; in ps_gamepad_create()
1378 input_sync(ds->gamepad); in dualsense_parse_report()
1670 if (IS_ERR(ds->gamepad)) { in dualsense_create()
1671 ret = PTR_ERR(ds->gamepad); in dualsense_create()
2301 input_sync(ds4->gamepad); in dualshock4_parse_report()
[all …]
H A DKconfig214 tristate "BigBen Interactive Kids' gamepad support"
221 gamepad made by BigBen Interactive, originally sold as a PS3
/linux-6.15/Documentation/devicetree/bindings/input/
H A Dadafruit,seesaw-gamepad.yaml4 $id: http://devicetree.org/schemas/input/adafruit,seesaw-gamepad.yaml#
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-6.15/drivers/input/misc/
H A Dims-pcu.c263 struct ims_pcu_gamepad *gamepad = pcu->gamepad; in ims_pcu_gamepad_report() local
289 gamepad = kzalloc(sizeof(*gamepad), GFP_KERNEL); in ims_pcu_setup_gamepad()
300 snprintf(gamepad->name, sizeof(gamepad->name), in ims_pcu_setup_gamepad()
303 usb_make_path(pcu->udev, gamepad->phys, sizeof(gamepad->phys)); in ims_pcu_setup_gamepad()
304 strlcat(gamepad->phys, "/input1", sizeof(gamepad->phys)); in ims_pcu_setup_gamepad()
331 pcu->gamepad = gamepad; in ims_pcu_setup_gamepad()
336 kfree(gamepad); in ims_pcu_setup_gamepad()
342 struct ims_pcu_gamepad *gamepad = pcu->gamepad; in ims_pcu_destroy_gamepad() local
345 kfree(gamepad); in ims_pcu_destroy_gamepad()
412 if (pcu->gamepad) in ims_pcu_report_events()
[all …]
/linux-6.15/drivers/input/joystick/
H A DKconfig9 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"
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,
295 tristate "Xbox gamepad support"
[all …]
/linux-6.15/Documentation/input/
H A Dgamepad.rst10 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 Dinput_uapi.rst15 gamepad
/linux-6.15/Documentation/input/joydev/
H A Djoystick.rst89 options analog map=gamepad,none,2btn
183 gamepad 4/6-button n-axis gamepad
184 gamepad8 8-button 2-axis gamepad
355 * Genius G-09D gamepad
366 * InterAct HammerHead/FX gamepad
367 * InterAct ProPad8 gamepad
543 Gravis Stinger gamepad
546 The Gravis Stinger serial port gamepad, designed for use with laptop
/linux-6.15/arch/powerpc/boot/dts/
H A Dgamecube.dts94 gamepad-controller@c006400 {
H A Dwii.dts93 gamepad-controller@d006400 {
/linux-6.15/drivers/input/gameport/
H A DKconfig10 have a joystick, gamepad, gameport card, a soundcard with a gameport
/linux-6.15/Documentation/input/devices/
H A Djoystick-parport.rst52 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-6.15/arch/arm64/boot/dts/rockchip/
H A Drk3566-anbernic-rg-arc.dtsi130 * Device uses a non-standard six button layout for a gamepad with X,
/linux-6.15/tools/testing/selftests/hid/
H A DMakefile10 TEST_PROGS += hid-gamepad.sh
/linux-6.15/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts34 gpio_keys_gamepad: gpio-keys-gamepad {
/linux-6.15/drivers/input/
H A DKconfig136 Say Y here if you want your joystick or gamepad to be
/linux-6.15/Documentation/admin-guide/
H A Dkernel-parameters.txt400 analog.map= [HW,JOY] Analog joystick and gamepad support
/linux-6.15/
H A DMAINTAINERS486 F: Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml