Home
last modified time | relevance | path

Searched refs:spaceorb (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/input/joystick/
Dspaceorb.c38 struct spaceorb { struct
55 static void spaceorb_process_packet(struct spaceorb *spaceorb) in spaceorb_process_packet() argument
57 struct input_dev *dev = spaceorb->dev; in spaceorb_process_packet()
58 unsigned char *data = spaceorb->data; in spaceorb_process_packet()
63 if (spaceorb->idx < 2) return; in spaceorb_process_packet()
64 for (i = 0; i < spaceorb->idx; i++) c ^= data[i]; in spaceorb_process_packet()
70 spaceorb->data[spaceorb->idx - 1] = 0; in spaceorb_process_packet()
71 for (i = 1; i < spaceorb->idx && spaceorb->data[i] == ' '; i++); in spaceorb_process_packet()
73 dev->name, spaceorb->data + i, spaceorb->phys); in spaceorb_process_packet()
77 if (spaceorb->idx != 12) return; in spaceorb_process_packet()
[all …]
DMakefile35 obj-$(CONFIG_JOYSTICK_SPACEORB) += spaceorb.o
DKconfig177 module will be called spaceorb.
/linux-6.12.1/Documentation/input/joydev/
Djoystick.rst446 supported by the spaceorb.c and spaceball.c drivers. The devices currently
447 supported by spaceorb.c are:
456 In addition to having the spaceorb/spaceball and serport modules in the
460 inputattach --spaceorb /dev/tts/x &
471 recentering of the spaceorb, moving the zero point to the position in which