summaryrefslogtreecommitdiffstats
path: root/services/input
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Add joystick support to framework."Jeff Brown2011-01-174-23/+382
|\ \ | |/ |/|
| * Add joystick support to framework.Jeff Brown2011-01-174-23/+382
| | | | | | | | Change-Id: I95374436708752e1a9cff3f85c5b9bc3e0987961
* | Support non-rectangular input regions.Jeff Brown2011-01-163-22/+30
|/ | | | | | | | This enables the system bar to carve out a region through which events will be sent to the IME behind it. Bug: 3238092 Change-Id: I69b855a8d9b5b3ee525266c0861826e53e5b5028
* Add support for detecting finger orientation.Jeff Brown2011-01-142-1/+23
| | | | Change-Id: I901fc61f7705fcd7950190dc8782bad616032ee2
* Fix bug with mice that send multiple BTN_MOUSE values.Jeff Brown2011-01-141-3/+11
| | | | | | | Some mice send different values for BTN_MOUSE key events when the button is held down (2 for repeat, instead of 1 for down). Change-Id: I803db1f1584f50f8f5e1d37b6a715e2e1b3943a6
* Prevent events from getting backlogged.Jeff Brown2011-01-108-179/+418
| | | | | | | | | | | | | | | | | | | | | | | | This change implements two heuristics. 1. When events are older than 10 seconds, they are dropped. 2. If the application is currently busy processing an event and the user touches a window belonging to a different application then we drop the currently queued events so the other application can start processing the gesture immediately. Note that the system takes care of synthesizing cancelation events automatically for any events that it drops. Added some new handle types to allow the native dispatcher to indirectly refer to the WindowManager's window state and app window token. This was done to enable the dispatcher to identify the application to which each window belongs but it also eliminates some lookup tables and linear searches through the window list on each key press. Bug: 3224911 Change-Id: I9dae8dfe23d195d76865f97011fe2f1d351e2940
* Only allow touch events from one device at a time.Jeff Brown2011-01-042-28/+46
| | | | | | | | Reject movements from other devices when one device is already down. This fixes jittery behavior when the user moves the mouse and touches the screen at the same time. Change-Id: I99151c8f2596a3139720f776bcbc559d4b314878
* Mouse pointer integration.Jeff Brown2011-01-0414-0/+15546
Added support for loading the pointer icon from a resource. Moved the system server related bits of the input manager out of libui and into libinput since they do not need to be linked into applications. Change-Id: Iec11e0725b3add2b905c51f8ea2c3b4b0d1a2d67