input.h (a470b33259bf82ef2336bfcd5d07640562d3f63b) input.h (74c98e20a604b9db58284b8727688df70e9bf643)
1/*
2 * Copyright (c) 1999-2002 Vojtech Pavlik
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 */
8#ifndef _INPUT_H

--- 44 unchanged lines hidden (view full) ---

53 * @flat: values that are within this value will be discarded by
54 * joydev interface and reported as 0 instead.
55 * @resolution: specifies resolution for the values reported for
56 * the axis.
57 *
58 * Note that input core does not clamp reported values to the
59 * [minimum, maximum] limits, such task is left to userspace.
60 *
1/*
2 * Copyright (c) 1999-2002 Vojtech Pavlik
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 */
8#ifndef _INPUT_H

--- 44 unchanged lines hidden (view full) ---

53 * @flat: values that are within this value will be discarded by
54 * joydev interface and reported as 0 instead.
55 * @resolution: specifies resolution for the values reported for
56 * the axis.
57 *
58 * Note that input core does not clamp reported values to the
59 * [minimum, maximum] limits, such task is left to userspace.
60 *
61 * Resolution for main axes (ABS_X, ABS_Y, ABS_Z) is reported in
62 * units per millimeter (units/mm), resolution for rotational axes
63 * (ABS_RX, ABS_RY, ABS_RZ) is reported in units per radian.
61 * The default resolution for main axes (ABS_X, ABS_Y, ABS_Z)
62 * is reported in units per millimeter (units/mm), resolution
63 * for rotational axes (ABS_RX, ABS_RY, ABS_RZ) is reported
64 * in units per radian.
65 * When INPUT_PROP_ACCELEROMETER is set the resolution changes.
66 * The main axes (ABS_X, ABS_Y, ABS_Z) are then reported in
67 * in units per g (units/g) and in units per degree per second
68 * (units/deg/s) for rotational axes (ABS_RX, ABS_RY, ABS_RZ).
64 */
65struct input_absinfo {
66 int32_t value;
67 int32_t minimum;
68 int32_t maximum;
69 int32_t fuzz;
70 int32_t flat;
71 int32_t resolution;

--- 417 unchanged lines hidden ---
69 */
70struct input_absinfo {
71 int32_t value;
72 int32_t minimum;
73 int32_t maximum;
74 int32_t fuzz;
75 int32_t flat;
76 int32_t resolution;

--- 417 unchanged lines hidden ---