Home
last modified time | relevance | path

Searched refs:axis (Results 1 – 25 of 35) sorted by relevance

12

/linux-2.6.39/include/linux/input/
Dmt.h51 static inline bool input_is_mt_axis(int axis) in input_is_mt_axis() argument
53 return axis == ABS_MT_SLOT || in input_is_mt_axis()
54 (axis >= ABS_MT_FIRST && axis <= ABS_MT_LAST); in input_is_mt_axis()
/linux-2.6.39/drivers/staging/iio/gyro/
Dadis16260_core.c518 #define ADIS16260_GYRO_ATTR_SET(axis) \ argument
519 IIO_DEV_ATTR_GYRO##axis(adis16260_read_14bit_signed, \
521 static IIO_DEV_ATTR_GYRO##axis##_SCALE(S_IRUGO, \
525 static IIO_DEV_ATTR_GYRO##axis##_CALIBSCALE(S_IRUGO | S_IWUSR, \
529 static IIO_DEV_ATTR_GYRO##axis##_CALIBBIAS(S_IWUSR | S_IRUGO, \
533 static IIO_DEV_ATTR_ANGL##axis(adis16260_read_14bit_signed, \
541 #define ADIS16260_ATTR_GROUP(axis) \ argument
542 struct attribute *adis16260_attributes##axis[] = { \
545 &iio_dev_attr_gyro##axis##_raw.dev_attr.attr, \
546 &iio_dev_attr_gyro##axis##_scale.dev_attr.attr, \
[all …]
/linux-2.6.39/drivers/input/misc/
Drotary_encoder.c33 unsigned int axis; member
62 input_report_rel(encoder->input, pdata->axis, in rotary_encoder_irq()
81 input_report_abs(encoder->input, pdata->axis, in rotary_encoder_irq()
135 input->relbit[0] = BIT_MASK(pdata->axis); in rotary_encoder_probe()
139 pdata->axis, 0, pdata->steps, 0, 1); in rotary_encoder_probe()
Dadxl34x.c238 static void adxl34x_get_triple(struct adxl34x *ac, struct axis_triple *axis) in adxl34x_get_triple() argument
246 axis->x = ac->saved.x; in adxl34x_get_triple()
249 axis->y = ac->saved.y; in adxl34x_get_triple()
252 axis->z = ac->saved.z; in adxl34x_get_triple()
259 struct axis_triple axis; in adxl34x_service_ev_fifo() local
261 adxl34x_get_triple(ac, &axis); in adxl34x_service_ev_fifo()
264 axis.x - ac->swcal.x); in adxl34x_service_ev_fifo()
266 axis.y - ac->swcal.y); in adxl34x_service_ev_fifo()
268 axis.z - ac->swcal.z); in adxl34x_service_ev_fifo()
/linux-2.6.39/drivers/staging/comedi/drivers/
Dadl_pci8164.c238 int axis, axis_reg; in adl_pci8164_insn_read() local
241 axis = CR_CHAN(insn->chanspec); in adl_pci8164_insn_read()
243 switch (axis) { in adl_pci8164_insn_read()
317 unsigned int axis, axis_reg; in adl_pci8164_insn_out() local
321 axis = CR_CHAN(insn->chanspec); in adl_pci8164_insn_out()
323 switch (axis) { in adl_pci8164_insn_out()
Djr3_pci.c297 int axis, filter; in jr3_pci_ai_insn_read() local
299 axis = channel % 8; in jr3_pci_ai_insn_read()
305 switch (axis) { in jr3_pci_ai_insn_read()
/linux-2.6.39/Documentation/input/
Djoystick-api.txt34 __u8 number; /* axis/button number */
65 The values of ``number'' correspond to the axis or button that
67 is, you have both an axis 0 and a button 0). Generally,
78 independent axis, even if the hardware doesn't allow independent movement.
84 For an axis, ``value'' is a signed integer between -32767 and +32767
85 representing the position of the joystick along that axis. If you
117 task of detecting double clicks, figuring out if movement of axis and button
247 information for all axis. That is, struct js_corr corr[MAX_AXIS];
282 int x; /* immediate x axis value */
283 int y; /* immediate y axis value */
[all …]
Diforce-protocol.txt32 axis
72 Bits 4-7: Val 2 = effect along one axis. Byte 05 indicates direction
73 Val 4 = X axis only. Byte 05 must contain 5a
74 Val 8 = Y axis only. Byte 05 must contain b4
89 08-09 Address of interactive parameters for X-axis, or ffff if not applicable
90 0a-0b Address of interactive parameters for Y-axis, or ffff if not applicable
207 Idx 05 Set axis saturation threshold (0..2048)
Dmulti-touch-protocol.txt169 major and minor axis of an ellipse. Finally, the orientation of the oval
189 The length of the major axis of the contact. The length should be given in
195 The length, in surface units, of the minor axis of the contact. If the
200 The length, in surface units, of the major axis of the approaching
207 The length, in surface units, of the minor axis of the approaching
232 axis of the surface, a negative value when finger is turned to the left, and
234 the X axis, the range max should be returned. Orientation can be omitted
237 can distinguish between the two axis, but not (uniquely) any values in
291 the device can distinguish between a finger along the Y axis (0) and a
292 finger along the X axis (1).
Dcs461x.txt10 is completed in this mode, but the axis movement is not.
13 driver as a backend. I've tested this driver with CS4610, 4-axis and
Dcma3000_d0x.txt15 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and
22 axis and supports 400, 100, 40 Hz sample frequency.
Djoystick.txt176 * 2-axis, 4-button joystick
177 * 3-axis, 4-button joystick
178 * 4-axis, 4-button joystick
196 2btn | 2-button n-axis joystick
197 y-joy | Two 2-button 2-axis joysticks on an Y-cable
198 y-pad | Two 2-button 2-axis gamepads on an Y-cable
202 gamepad | 4/6-button n-axis gamepad
203 gamepad8 | 8-button 2-axis gamepad
Dinput-programming.txt184 device. A relative value may be for example a mouse movement in the X axis.
199 struct for each absolute axis your device has. If our button device had also
200 the ABS_X axis:
211 This setting would be appropriate for a joystick X axis, with the minimum of
Datarikbd.txt60 button being pressed or released, or motion in either axis exceeding a
94 each axis. The ikbd internally maintains mouse motion information to the
177 either axis and the Y=0 origin at the top of the screen, and joystick event
233 threshold in either axis (see SET MOUSE THRESHOLD). Depending upon the mouse
262 either axis. When the keyboard is in key scan code mode, mouse motion will
286 (independently scaled for each axis). Remember that the mouse position
325 This command makes the origin of the Y axis to be at the bottom of the
334 Makes the origin of the Y axis to be at the top of the logical coordinate
Dgameport-programming.txt66 There are gameports that can report the axis values as numbers, that means
162 expected maximums for each axis. The calibrate() function should set the
Drotary-encoder.txt92 .axis = ABS_X,
/linux-2.6.39/drivers/misc/lis3lv02d/
DKconfig6 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
23 tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
Dlis3lv02d.c114 module_param_array_named(axes, lis3_dev.ac.as_array, axis, NULL, 0644);
143 static inline int lis3lv02d_get_axis(s8 axis, int hw_values[3]) in lis3lv02d_get_axis() argument
145 if (axis > 0) in lis3lv02d_get_axis()
146 return hw_values[axis - 1]; in lis3lv02d_get_axis()
148 return -hw_values[-axis - 1]; in lis3lv02d_get_axis()
/linux-2.6.39/include/linux/
Drotary_encoder.h6 unsigned int axis; member
Dinput.h1527 void input_set_abs_params(struct input_dev *dev, unsigned int axis,
1532 unsigned int axis) \
1534 return dev->absinfo ? dev->absinfo[axis]._item : 0; \
1538 unsigned int axis, int val) \
1542 dev->absinfo[axis]._item = val; \
/linux-2.6.39/sound/usb/caiaq/
Dinput.c148 int axis, const unsigned char *buf, in snd_caiaq_input_report_abs() argument
151 input_report_abs(dev->input_dev, axis, in snd_caiaq_input_report_abs()
624 int axis = KONTROLS4_ABS(i); in snd_usb_caiaq_input_init() local
625 input->absbit[BIT_WORD(axis)] |= BIT_MASK(axis); in snd_usb_caiaq_input_init()
/linux-2.6.39/Documentation/cris/
DREADME14 http://developer.axis.com/doc/software/devboard_lx/install-howto.html
32 http://www.axis.com/news/us/001101_etrax.htm
66 2.4) is now available. For more information please see developer.axis.com.
76 Linux version 2.4.1 (bjornw@godzilla.axis.se) (gcc version 2.96 20000427 (experimental)) #207 Wed F…
/linux-2.6.39/drivers/staging/iio/accel/
DKconfig12 Say yes here to build support for Analog Devices adis16201 dual-axis
39 Say yes here to build support for Analog Devices adis16209 dual-axis digital inclinometer
/linux-2.6.39/drivers/staging/iio/imu/
DKconfig22 high precision tri-axis inertial sensor.
/linux-2.6.39/drivers/staging/iio/Documentation/
Dsysfs-bus-iio110 It an axis is specified it generally means that the temperature
112 a gyroscope axis).
138 Angular velocity about axis x, y or z (may be arbitrarily
149 Inclination raw reading about axis x, y or z (may be
159 Magnetic field along axis x, y or z (may be arbitrarily

12