Lines Matching +full:adc +full:- +full:joystick
9 the code needed to register it with the joystick drivers is simple::
34 Please also consider enabling the gameport on the card in the ->open()
35 callback if the io is mapped to ISA space - this way it'll occupy the io
37 ->close() callback. You also can select the io address in the ->open()
70 the driver doesn't have to measure them the old way - an ADC is built into
86 return -(mode != GAMEPORT_MODE_COOKED);
95 experimentation, it is the amount of noise in the ADC data. Perfect
97 See analog.c and input.c for handling of fuzz - the fuzz value determines
105 examples 1+2 or 1+3. Gameports can support internal calibration - see below,
107 more than one gameport instance simultaneously, use the ->private member of
126 A private pointer for free use in the gameport driver. (Not the joystick
147 I/O address for use with raw mode. You have to either set this, or ->read()
183 read function. It should fill axes[0..3] with four values of the joystick axes
190 Function for calibrating the ADC hardware. When called, axes[0..3] should be
191 pre-filled by cooked data by the caller, max[0..3] should be pre-filled with
193 sensitivity of the ADC hardware so that the maximums fit in its range and
194 recompute the axes[] values to match the new sensitivity or re-read them from
223 struct mutex drv_mutex; /* protects serio->drv so attributes can pin driver */