summaryrefslogtreecommitdiffstats
path: root/libs/input/Input.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add number constraint for samples per MotionEventFlanker2015-10-121-1/+2
| | | | | | | Bug:23905002 Change-Id: Ifd24802977c3dcdd1dbc5120a78aac41beae4603 Signed-off-by: Adam Lesinski <adamlesinski@google.com>
* Revert "Revert "Add new MotionEvent actions for button press and release.""Michael Wright2015-05-141-0/+5
| | | | This reverts commit 70b41ef580644fd0fe6fa9b8ac7e4a745cfb6db3.
* Revert "Add new MotionEvent actions for button press and release."Michael Wright2015-05-141-5/+0
| | | | This reverts commit 48a8a0e4322969e1551536d6183af3a1faa2240b.
* Add new MotionEvent actions for button press and release.Michael Wright2015-05-141-0/+5
| | | | | | | | | | | | | | Introduce ACTION_BUTTON_PRESS and ACTION_BUTTON_RELEASE as actions to signal a button press or release. If these actions happen simulanteously with a DOWN or UP event then they're explicitly ordered to happen after the DOWN or preceding the UP in order to send them to the most recently targeted view. Also, introduce new stylus button constants that differ from the constants we use for mouse buttons. Bug: 20704355 Change-Id: Ib960a5004db5429ad2fc8db020704773e2978327
* Move key attribute information out of native.Michael Wright2014-04-221-74/+13
| | | | | | | | Native doesn't ever actually care about the attributes of keys, so move all of it up into the managed layer and move all of the key names down so they're defined once. Change-Id: Ic8ded13ce050b2b98744735ff50d11e8d882d7d5
* Generate ACTION_CANCEL on joystick disconnect.Michael Wright2014-03-201-17/+12
| | | | | Bug: 11480300 Change-Id: I46706838eec0711c6bf345301e7b4ccbad83b063
* Add support for injecting events into ActivityContainers.Jeff Brown2014-02-111-0/+5
| | | | | | | | | Enhanced the input system to support concurrent dispatch of touch events on multiple displays which is required for this to work. Add method to apply offset to PointerCoords. Change-Id: I55fe4a9a8785ae5a2d3341d214fa3c5107f3963a
* Merge "Add a keycode to switch audio tracks (2/2)"michaelwr2013-07-161-0/+2
|\
| * Add a keycode to switch audio tracks (2/2)Jaekyun Seok2013-07-121-0/+2
| | | | | | | | | | | | | | A key to switch audio tracks is general on media devices like blu-ray. Bug: 9728155 Change-Id: I13ebbc64321f3cf10370f9a605f3d94ea0d16d6d
* | Fix PDK build.Jeff Brown2013-07-151-29/+39
|/ | | | | | Quick hack to remove Skia dependency from libinput. Change-Id: Ibaf2e312236f5e3f7251fa903ce381456a77467c
* Move input library code from frameworks/base.Jeff Brown2013-07-011-0/+634
Change-Id: I4983db61b53e28479fc90d9211fafff68f7f49a6