Home
last modified time | relevance | path

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

/linux/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/drivers/hid/
H A Dhid-playstation.c176 struct input_dev *gamepad; member
403 struct input_dev *gamepad; member
748 struct input_dev *gamepad; in ps_gamepad_create() local
752 gamepad = ps_allocate_input_dev(hdev, NULL); in ps_gamepad_create()
753 if (IS_ERR(gamepad)) in ps_gamepad_create()
754 return ERR_CAST(gamepad); in ps_gamepad_create()
757 input_set_abs_params(gamepad, ABS_X, 0, 255, 0, 0); in ps_gamepad_create()
758 gamepad->absinfo[ABS_X].value = 128; in ps_gamepad_create()
759 input_set_abs_params(gamepad, ABS_Y, 0, 255, 0, 0); in ps_gamepad_create()
760 gamepad->absinfo[ABS_Y].value = 128; in ps_gamepad_create()
[all …]
/linux/drivers/input/misc/
H A Dims-pcu.c110 struct ims_pcu_gamepad *gamepad; member
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_obj(*gamepad); in ims_pcu_setup_gamepad()
291 if (!gamepad || !input) { 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()
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()
[all …]
/linux/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"
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 …]
/linux/Documentation/input/
H A Dinput_uapi.rst15 gamepad
/linux/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/arch/powerpc/boot/dts/
H A Dgamecube.dts94 gamepad-controller@c006400 {
H A Dwii.dts93 gamepad-controller@d006400 {
/linux/drivers/input/gameport/
H A DKconfig10 have a joystick, gamepad, gameport card, a soundcard with a gameport
/linux/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/tools/testing/selftests/hid/
H A DMakefile10 TEST_PROGS += hid-gamepad.sh
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts34 gpio_keys_gamepad: gpio-keys-gamepad {
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt501 analog.map= [HW,JOY] Analog joystick and gamepad support
/linux/
H A DMAINTAINERS509 F: Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml