Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/input/joystick/
Dspaceorb.c57 struct spaceorb { struct
74 static void spaceorb_process_packet(struct spaceorb *spaceorb) in spaceorb_process_packet() argument
76 struct input_dev *dev = spaceorb->dev; in spaceorb_process_packet()
77 unsigned char *data = spaceorb->data; in spaceorb_process_packet()
82 if (spaceorb->idx < 2) return; in spaceorb_process_packet()
83 for (i = 0; i < spaceorb->idx; i++) c ^= data[i]; in spaceorb_process_packet()
89 spaceorb->data[spaceorb->idx - 1] = 0; in spaceorb_process_packet()
90 for (i = 1; i < spaceorb->idx && spaceorb->data[i] == ' '; i++); in spaceorb_process_packet()
92 dev->name, spaceorb->data + i, spaceorb->phys); in spaceorb_process_packet()
96 if (spaceorb->idx != 12) return; in spaceorb_process_packet()
[all …]
DMakefile26 obj-$(CONFIG_JOYSTICK_SPACEORB) += spaceorb.o
DKconfig163 module will be called spaceorb.
/linux-4.1.27/Documentation/input/
Djoystick.txt440 supported by the spaceorb.c and spaceball.c drivers. The devices currently
441 supported by spaceorb.c are:
450 In addition to having the spaceorb/spaceball and serport modules in the
454 inputattach --spaceorb /dev/tts/x &
463 recentering of the spaceorb, moving the zero point to the position in which