linux-stable/drivers/input
Raphael Assenat 45536d373a Input: joydev - do not report stale values on first open
Postpone axis initialization to the first open instead of doing it
in joydev_connect. This is to make sure the generated startup events
are representative of the current joystick state rather than what
it was when joydev_connect() was called, potentially much earlier.
Once the first user is connected to joydev node we'll be updating
joydev->abs[] values and subsequent clients will be getting correct
initial states as well.

This solves issues with joystick driven menus that start scrolling
up each time they are started, until the user moves the joystick to
generate events. In emulator menu setups where the menu program is
restarted every time the game exits, the repeated need to move the
joystick to stop the unintended scrolling gets old rather quickly...

Signed-off-by: Raphael Assenat <raph@raphnet.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-02-09 13:29:04 -08:00
..
gameport
joystick Input: xpad - restore LED state after device resume 2017-02-06 19:32:49 -08:00
keyboard Input: tca8418 - switch to using generic device properties 2017-01-31 11:31:49 -08:00
misc Input: delete MPU3050 driver 2017-01-31 00:18:07 -08:00
mouse Input: synaptics - use SERIO_OOB_DATA to handle trackstick buttons 2017-02-09 13:01:32 -08:00
rmi4 Input: synaptics-rmi4 - forward upper mechanical buttons to PS/2 guest 2017-02-09 13:01:34 -08:00
serio Linux 4.10-rc5 2017-01-24 12:37:43 -08:00
tablet Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
touchscreen Linux 4.10-rc5 2017-01-24 12:37:43 -08:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
input-compat.h
input-leds.c
input-mt.c Input: update input_mt_report_pointer_emulation to support hovering 2016-06-01 14:21:10 -07:00
input-polldev.c
input.c Input: refuse to register absolute devices without absinfo 2017-02-01 10:33:21 -08:00
joydev.c Input: joydev - do not report stale values on first open 2017-02-09 13:29:04 -08:00
Kconfig Input: mousedev - stop offering PS/2 to userspace by default 2017-01-31 11:31:49 -08:00
Makefile
matrix-keymap.c Input: matrix-keypad - switch to using generic device properties 2017-01-31 11:31:48 -08:00
mousedev.c
sparse-keymap.c