Home
last modified time | relevance | path

Searched full:joystick (Results 1 – 25 of 160) sorted by relevance

1234567

/linux-6.12.1/drivers/input/joystick/
DKconfig3 # Joystick driver configuration
9 If you have a joystick, 6dof controller, gamepad, steering wheel,
14 Please read the file <file:Documentation/input/joydev/joystick.rst> which
23 Say Y here if you have a joystick that connects to the PC
24 gameport. In addition to the usual PC analog joystick, this driver
30 Please read the file <file:Documentation/input/joydev/joystick.rst> which
47 tristate "Simple joystick connected over ADC"
52 Say Y here if you have a simple joystick connected over ADC.
55 module will be called adc-joystick.
82 communicating joystick or gamepad.
[all …]
Dsensehat-joystick.c3 * Raspberry Pi Sense HAT joystick driver
45 "Failed to read joystick state: %d", error); in sensehat_joystick_report()
85 sensehat_joystick->keys_dev->name = "Raspberry Pi Sense HAT Joystick"; in sensehat_joystick_probe()
86 sensehat_joystick->keys_dev->phys = "sensehat-joystick/input0"; in sensehat_joystick_probe()
117 { .compatible = "raspberrypi,sensehat-joystick" },
125 .name = "sensehat-joystick",
132 MODULE_DESCRIPTION("Raspberry Pi Sense HAT joystick driver");
Dqwiic-joystick.c5 * SparkFun Qwiic Joystick
16 #define DRV_NAME "qwiic-joystick"
75 dev_dbg(&client->dev, "SparkFun Qwiic Joystick, FW: %u.%u\n", in qwiic_probe()
92 priv->dev->name = "SparkFun Qwiic Joystick"; in qwiic_probe()
113 dev_err(&client->dev, "failed to register joystick: %d\n", err); in qwiic_probe()
122 { .compatible = "sparkfun,qwiic-joystick", },
145 MODULE_DESCRIPTION("SparkFun Qwiic Joystick driver");
DMakefile9 obj-$(CONFIG_JOYSTICK_ADC) += adc-joystick.o
30 obj-$(CONFIG_JOYSTICK_QWIIC) += qwiic-joystick.o
32 obj-$(CONFIG_JOYSTICK_SENSEHAT) += sensehat-joystick.o
Dgf2k.c7 * Genius Flight 2000 joystick driver for Linux
18 #define DRIVER_DESC "Genius Flight 2000 joystick driver"
30 * Genius joystick ids ...
107 * gf2k_trigger_seq() initializes a Genius Flight2000 joystick
183 * gf2k_poll() reads and analyzes Genius joystick data.
270 printk(KERN_WARNING "gf2k.c: Not yet supported joystick on %s. [id: %d type:%s]\n", in gf2k_connect()
Dsidewinder.c7 * Microsoft SideWinder joystick family driver for Linux
18 #define DRIVER_DESC "Microsoft SideWinder joystick family driver"
49 * SideWinder joystick types ...
112 * identification packet from a SideWinder joystick. The protocol is very,
217 * sw_init_digital() initializes a SideWinder 3D Pro joystick
278 * sw_parse() analyzes SideWinder joystick data, and writes the results into
401 * sw_read() reads SideWinder joystick data, and reinitializes
402 * the joystick in case of persistent problems. This is the function that is
403 * called from the generic code to poll the joystick.
416 printk(KERN_WARNING "sidewinder.c: Joystick in wrong mode on %s" in sw_read()
[all …]
/linux-6.12.1/Documentation/input/devices/
Datarikbd.rst44 0xFD joystick report (both sticks)
45 0xFE joystick 0 event
46 0xFF joystick 1 event
116 Joystick chapter
119 Joystick Event Reporting
122 In this mode, the ikbd generates a record whenever the joystick position is
123 changed (i.e. for each opening or closing of a joystick switch or trigger).
125 The joystick event record is two bytes of the form::
127 %1111111x ; Joystick event marker
128 ; where x is Joystick 0 or 1
[all …]
Dcs461x.rst1 Crystal SoundFusion CS4610/CS4612/CS461 joystick
4 This is a new low-level driver to support analog joystick attached to
13 Raw mode works fine with analog joystick front-end driver and cs461x
15 4-button joystick; I mean the jstest utility. Also I've tried to
16 play in xracer game using joystick, and the result is better than
22 behavior in my case was not raised the requirement of joystick calibration.
29 uses joystick as input device and PCM device as sound output in one time.
31 comments about them; but I've found the joystick can be initialized
32 separately of ALSA modules. So, you can use only one joystick driver
Djoystick-parport.rst6 Parallel Port Joystick Drivers
20 happen include burning your parallel port, and/or the sticks and joystick
26 The joystick parport drivers are used for joysticks and gamepads not
59 for your pads, use either keyboard or joystick port, and make a pass-through
152 for joystick ports. They were all digital, and all used D-Cannon 9 pin
153 connectors (db9). Because of that, a single joystick could be used without
237 was written. It allows only one joystick / gamepad per parallel port, but
240 For the basic 1-button Multisystem joystick you connect its wires to the
252 However, if the joystick is switch based (eg. clicks when you move it),
271 the digital joystick driver 0.8.0.2, this is also supported by the db9.c
[all …]
Dwalkera0701.rst7 this transmitter as joystick
13 cg-clone http://zub.fei.tuke.sk/GIT/walkera0701-joystick
47 be changed by TX "joystick", check output from /proc/interrupts. Value for
107 Values for first four channels (analog joystick values) can be found in
/linux-6.12.1/Documentation/input/joydev/
Djoystick.rst8 The joystick driver for Linux provides support for a variety of joysticks
29 usually packaged as ``joystick``, ``input-utils``, ``evtest``, and so on.
31 ``inputattach`` utility is required if your joystick is connected to a
63 For all joystick drivers to function, you'll need the userland interface
78 In addition to that, you'll need the joystick driver module itself, most
79 usually you'll have an analog joystick::
94 For testing the joystick driver functionality, there is the jstest
99 And it should show a line with the joystick values, which update as you
101 joystick is in the center position. They should not jitter by themselves to
106 If it's not, then there might be a problem. Try to calibrate the joystick,
[all …]
Djoystick-api.rst16 The 1.0 driver uses a new, event based approach to the joystick driver.
17 Instead of the user program polling for the joystick values, the joystick
18 driver now reports only any changes of its state. See joystick-api.txt,
19 joystick.h and jstest.c included in the joystick package for more
20 information. The joystick device can be used in either blocking or
24 Any call to the joystick driver using the old interface will return values
32 Open the joystick device following the usual semantics (that is, with open).
36 joystick.
70 #define JS_EVENT_AXIS 0x02 /* joystick moved */
102 Hats vary from one joystick type to another. Some can be moved in 8
[all …]
Dindex.rst4 Linux Joystick support
13 joystick
14 joystick-api
/linux-6.12.1/Documentation/sound/cards/
Djoystick.rst2 Analog Joystick Support on ALSA Drivers
13 using a joystick with the ALSA driver. For the details of gameport
14 support, refer to Documentation/input/joydev/joystick.rst.
16 The joystick support of ALSA drivers is different between ISA and PCI
24 the load time. It'd be safer to plug in the joystick device before
31 For PCI cards, the joystick is enabled when the appropriate module
33 joystick support is always enabled. In the former ALSA version, there
34 was a dynamic control API for the joystick activation. It was
38 The following PCI drivers support the joystick natively.
46 azf3328 joystick 0 = disable, 1 = enable, -1 = auto (default)
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/input/
Dadc-joystick.yaml5 $id: http://devicetree.org/schemas/input/adc-joystick.yaml#
8 title: ADC attached joystick
14 Bindings for joystick devices connected to ADC controllers supporting
22 const: adc-joystick
29 Each pair defines one ADC channel to which a joystick axis is connected.
55 Represents a joystick axis bound to the given ADC channel.
76 inclination of the joystick. If min > max, it is left to userspace to
106 joystick: adc-joystick {
107 compatible = "adc-joystick";
/linux-6.12.1/drivers/macintosh/ams/
Dams-input.c3 * Apple Motion Sensor driver (joystick emulation)
18 static bool joystick; variable
19 module_param(joystick, bool, S_IRUGO);
20 MODULE_PARM_DESC(joystick, "Enable the input class device on module load");
86 joystick = true; in ams_input_enable()
102 joystick = false; in ams_input_disable()
108 return sprintf(buf, "%d\n", joystick); in ams_input_show_joystick()
126 if (enable != joystick) { in ams_input_store_joystick()
138 static DEVICE_ATTR(joystick, S_IRUGO | S_IWUSR,
143 if (joystick) in ams_input_init()
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsun4i-a10-inet9f-rev03.dts66 event-left-joystick-left {
67 label = "Left Joystick Left";
74 event-left-joystick-right {
75 label = "Left Joystick Right";
82 event-left-joystick-up {
83 label = "Left Joystick Up";
90 event-left-joystick-down {
91 label = "Left Joystick Down";
98 event-right-joystick-left {
99 label = "Right Joystick Left";
[all …]
/linux-6.12.1/drivers/input/joystick/iforce/
DKconfig9 Say Y here if you have an I-Force joystick or steering wheel
20 Say Y here if you have an I-Force joystick or steering wheel
27 Say Y here if you have an I-Force joystick or steering wheel
31 <file:Documentation/input/joydev/joystick.rst>
/linux-6.12.1/Documentation/misc-devices/
Dlis3lv02d.rst40 the laptop to act as a pinball machine-esque joystick. Joystick device can be
41 calibrated. Joystick device can be in two different modes.
42 By default output values are scaled between -32768 .. 32767. In joystick raw
43 mode, joystick and sysfs position entry have the same scale. There can be
/linux-6.12.1/drivers/input/
DKconfig13 joystick, steering wheel ...) connected to your system and want
134 tristate "Joystick interface"
136 Say Y here if you want your joystick or gamepad to be
141 More information is available: <file:Documentation/input/joydev/joystick.rst>
197 source "drivers/input/joystick/Kconfig"
/linux-6.12.1/Documentation/input/
Dinput.rst156 ``joydev`` implements v0.x and v1.x Linux joystick API. See
157 :ref:`joystick-api` for details.
159 As soon as any joystick is connected, it can be accessed in /dev/input on::
168 above 256 if there are more joystick devices.
249 You can test the joystick emulation with the ``jstest`` utility,
250 available in the joystick package (see :ref:`joystick-doc`).
/linux-6.12.1/arch/arm/boot/dts/nxp/lpc/
Dlpc3250-ea3250.dts55 label = "Joystick Key 0";
61 label = "Joystick Key 1";
67 label = "Joystick Key 2";
73 label = "Joystick Key 3";
79 label = "Joystick Key 4";
/linux-6.12.1/drivers/hid/
Dhid-dr.c9 * 0079:0006 "DragonRise Inc. Generic USB Joystick "
142 * The original descriptor of joystick with PID 0x0011, represented by DVTech PC
148 * Usage (Joystick), ; Joystick (04h, application collection)
198 /* Size of the original descriptor of the PID 0x0011 joystick */
201 /* Fixed report descriptor for PID 0x011 joystick */
204 0x09, 0x04, /* Usage (Joystick), */
Dhid-lg3ff.c31 * 0 0 127 127 makes the joystick autocenter hard
33 * 127 0 127 127 makes the joystick loose on the right,
36 * -127 0 -127 -127 makes the joystick loose on the left,
39 * 0 0 -127 -127 makes the joystick rattle very hard
/linux-6.12.1/arch/m68k/atari/
Datakeyb.c104 KEYBOARD, AMOUSE, RMOUSE, JOYSTICK, CLOCK, RESYNC enumerator
198 kb_state.state = JOYSTICK; in atari_keyboard_interrupt()
267 case JOYSTICK: in atari_keyboard_interrupt()
441 /* Set joystick event reporting */
449 /* Set joystick interrogation mode */
457 /* Joystick interrogation */
467 /* Set joystick monitoring */
478 /* some joystick routines not in yet (0x18-0x19) */

1234567