Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/hid/tests/
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.12.1/drivers/hid/
Dhid-playstation.c153 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 …]
DKconfig189 tristate "BigBen Interactive Kids' gamepad support"
196 gamepad made by BigBen Interactive, originally sold as a PS3
/linux-6.12.1/drivers/input/misc/
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(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/
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-6.12.1/Documentation/input/
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
Dinput_uapi.rst15 gamepad
/linux-6.12.1/Documentation/input/joydev/
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.12.1/arch/powerpc/boot/dts/
Dgamecube.dts94 gamepad-controller@c006400 {
Dwii.dts93 gamepad-controller@d006400 {
/linux-6.12.1/drivers/input/gameport/
DKconfig10 have a joystick, gamepad, gameport card, a soundcard with a gameport
/linux-6.12.1/Documentation/input/devices/
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.12.1/arch/arm64/boot/dts/rockchip/
Drk3566-anbernic-rg-arc.dtsi130 * Device uses a non-standard six button layout for a gamepad with X,
/linux-6.12.1/tools/testing/selftests/hid/
DMakefile10 TEST_PROGS += hid-gamepad.sh
/linux-6.12.1/arch/arm64/boot/dts/allwinner/
Dsun50i-h700-anbernic-rg35xx-2024.dts34 gpio_keys_gamepad: gpio-keys-gamepad {
/linux-6.12.1/drivers/input/
DKconfig136 Say Y here if you want your joystick or gamepad to be
/linux-6.12.1/Documentation/admin-guide/
Dkernel-parameters.txt396 analog.map= [HW,JOY] Analog joystick and gamepad support
/linux-6.12.1/
DMAINTAINERS477 F: Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml