diff options
author | Jiri Kosina <jkosina@suse.cz> | 2017-05-02 11:02:24 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-05-02 11:02:24 +0200 |
commit | 800f3eef8ebc1264e9c135bfa892c8ae41fa4792 (patch) | |
tree | cb4aa7a8a0780283b02a7c511ff41ba345cd314f /include/uapi | |
parent | 18fc2163b8a410d4d36b8f44658580731c0afaa1 (diff) | |
parent | 040fc001765d374776353cb4f8b03ea7fa41e3cd (diff) |
Merge branch 'for-4.12/sony' into for-linus
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/input.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index e794f7bee22f..f561c0eb7d63 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -61,9 +61,14 @@ struct input_id { * Note that input core does not clamp reported values to the * [minimum, maximum] limits, such task is left to userspace. * - * Resolution for main axes (ABS_X, ABS_Y, ABS_Z) is reported in - * units per millimeter (units/mm), resolution for rotational axes - * (ABS_RX, ABS_RY, ABS_RZ) is reported in units per radian. + * The default resolution for main axes (ABS_X, ABS_Y, ABS_Z) + * is reported in units per millimeter (units/mm), resolution + * for rotational axes (ABS_RX, ABS_RY, ABS_RZ) is reported + * in units per radian. + * When INPUT_PROP_ACCELEROMETER is set the resolution changes. + * The main axes (ABS_X, ABS_Y, ABS_Z) are then reported in + * in units per g (units/g) and in units per degree per second + * (units/deg/s) for rotational axes (ABS_RX, ABS_RY, ABS_RZ). */ struct input_absinfo { __s32 value; |