/linux-6.12.1/tools/testing/selftests/hid/tests/ |
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-6.12.1/drivers/hid/ |
D | hid-playstation.c | 153 struct input_dev *gamepad; member 368 struct input_dev *gamepad; member 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() 724 input_set_abs_params(gamepad, ABS_RX, 0, 255, 0, 0); in ps_gamepad_create() [all …]
|
D | Kconfig | 189 tristate "BigBen Interactive Kids' gamepad support" 196 gamepad made by BigBen Interactive, originally sold as a PS3
|
/linux-6.12.1/drivers/input/misc/ |
D | ims-pcu.c | 110 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(sizeof(*gamepad), GFP_KERNEL); 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-6.12.1/drivers/input/joystick/ |
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 …]
|
/linux-6.12.1/Documentation/input/ |
D | gamepad.rst | 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
|
D | input_uapi.rst | 15 gamepad
|
/linux-6.12.1/Documentation/input/joydev/ |
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 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.12.1/arch/powerpc/boot/dts/ |
D | gamecube.dts | 94 gamepad-controller@c006400 {
|
D | wii.dts | 93 gamepad-controller@d006400 {
|
/linux-6.12.1/drivers/input/gameport/ |
D | Kconfig | 10 have a joystick, gamepad, gameport card, a soundcard with a gameport
|
/linux-6.12.1/Documentation/input/devices/ |
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-6.12.1/arch/arm64/boot/dts/rockchip/ |
D | rk3566-anbernic-rg-arc.dtsi | 130 * Device uses a non-standard six button layout for a gamepad with X,
|
/linux-6.12.1/tools/testing/selftests/hid/ |
D | Makefile | 10 TEST_PROGS += hid-gamepad.sh
|
/linux-6.12.1/arch/arm64/boot/dts/allwinner/ |
D | sun50i-h700-anbernic-rg35xx-2024.dts | 34 gpio_keys_gamepad: gpio-keys-gamepad {
|
/linux-6.12.1/drivers/input/ |
D | Kconfig | 136 Say Y here if you want your joystick or gamepad to be
|
/linux-6.12.1/Documentation/admin-guide/ |
D | kernel-parameters.txt | 396 analog.map= [HW,JOY] Analog joystick and gamepad support
|
/linux-6.12.1/ |
D | MAINTAINERS | 477 F: Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml
|