summaryrefslogtreecommitdiffstats
path: root/include/input
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGE: Introduce stem keycodes for WearAnthony Hugh2015-06-241-0/+4
| | | | | | | | | | | | | Cherry-pick from master This change adds four new stem keycodes for Android Wear. These keycodes are intended to represent the various hardware buttons around the watch. There is one primary stem key that will be used for power/settings and three generic stem keys that will be customizable. BUG: 21903503 Change-Id: I762b8c0bcf3780a1756f4c1b8bbf07a039ba7781
* Cancel touch events when a low-level touch gesture occurs.Jeff Brown2015-02-122-0/+13
| | | | | | | | | | | | | | | When the touch firmware or driver sends a key event that is triggered by a low-level gesture such as a palm slap. For this to work, the touch device's .kl file must specify the "GESTURE" flag for each key that is produced by a gesture. Note that the "VIRTUAL" flag should also be specified for any such keys for which we would like to generate haptic feedback. eg. key 142 SLEEP VIRTUAL GESTURE Bug: 19264992 Change-Id: Ief494ec7e3ca66d2358a1001fdfae4f263ee1cd1
* New keycode definitions for TV remotes.ASAZU, Hideki2014-09-021-0/+28
| | | | | | | Keys which are necessary for supporting world-wide broadcast standard or used commonly for TV/STB remotes. Change-Id: I2721ceb7d956c87f1d4106b99f9d21947ae13d47
* Add Voice Assist key.Michael Wright2014-08-211-0/+1
| | | | | Bug: 16292420 Change-Id: I607fadc2edf673079bfd9f7406e6e45603474957
* Shelve InputFlinger for another release. DO NOT MERGEMichael Wright2014-08-181-54/+0
| | | | Change-Id: I0f034a2b8b1d9192f61f5001799bd3aa4b3964c7
* Bump axis limitMichael Wright2014-06-091-1/+1
| | | | Change-Id: I53d18646be2b884c5022f10c7c4ea8f6cda176c8
* am 26063a91: am f1dd859b: Merge "x86_64: Align uint64_t/int64_t structure ↵Narayan Kamath2014-06-032-8/+16
|\ | | | | | | | | | | | | member to 8 bytes" * commit '26063a9155ddd18d858cea7fac7c1ddf71e1bcb7': x86_64: Align uint64_t/int64_t structure member to 8 bytes
| * am f1dd859b: Merge "x86_64: Align uint64_t/int64_t structure member to 8 bytes"Narayan Kamath2014-06-032-8/+16
| |\ | | | | | | | | | | | | * commit 'f1dd859baa114995bcbcfb7119e939d0b4f45ed5': x86_64: Align uint64_t/int64_t structure member to 8 bytes
| | * x86_64: Align uint64_t/int64_t structure member to 8 bytesFengwei Yin2014-05-302-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | To make sure the stature which pass between 32/64bit process have same memory layout for 32/64bit. Signed-off-by: Fengwei Yin <fengwei.yin@intel.com> Co-Authored-by: Narayan Kamath <narayan@google.com> (Unit test only.) Change-Id: I1bc2d12cce41ec0bc484adcaf968f274bec75c12
| * | am cfba3bf1: am c9fcaf37: Merge "Change InputMessage.motion.pointerSize to a ↵Narayan Kamath2014-05-161-3/+3
| |\ \ | | |/ | | | | | | | | | | | | | | | uint32_t." * commit 'cfba3bf1606dfdb1daf1be1c19176180660ae19d': Change InputMessage.motion.pointerSize to a uint32_t.
| | * Change InputMessage.motion.pointerSize to a uint32_t.Narayan Kamath2014-05-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures it's the same size in both 32 and 64 bit processes and also brings it in line with struct MotionEntry. (cherry-picked from bc6001b026069714177526eb1120b0011d6f2a51) Change-Id: I28e87050478920a54132efbbb8138076ebad1409
* | | Merge "Support VIRTUAL flag in keyboard layouts."Jeff Brown2014-05-211-0/+1
|\ \ \
| * | | Support VIRTUAL flag in keyboard layouts.Jeff Brown2014-05-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This flag is used to provide haptic feedback for virtual hard keys. Bug: 14319563 Change-Id: Ia0ca1acc8cfa00a42d1c04d279dfa59c6cc00f4d
* | | | New keycode definitions for HDMI-CECJinsuk Kim2014-05-201-0/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following keys are added to be mapped to HDMI-CEC standard keys: KEYCODE_MEDIA_TOP_MENU KEYCODE_11 KEYCODE_12 KEYCODE_LAST_CHANNEL KEYCODE_TV_DATA_SERVICE Change-Id: Ie73cf4cd8355ced4753eb5bba0ea130b087dfc36
* | | Add KEYCODE_PAIRING.Tim Kilbourn2014-05-161-0/+1
| | | | | | | | | | | | | | | | | | Used for initiating a peripheral pairing mode. Change-Id: I7e8439d27491ccc72d045cabf5751a35b9113aa7
* | | Change InputMessage.motion.pointerSize to a uint32_t.Narayan Kamath2014-05-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | This ensures it's the same size in both 32 and 64 bit processes and also brings it in line with struct MotionEntry. Change-Id: I66bb8b8d8664763e7dcbd489686051f563d5e1dc
* | | Move key attribute information out of native.Michael Wright2014-04-224-394/+407
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 974279d9: am db19e463: Remove unnecessary policy flags.Jeff Brown2014-04-111-7/+3
|\ \ \ | |/ / | | | | | | | | | * commit '974279d98917c589181b70ea1c377842e7717643': Remove unnecessary policy flags.
| * | Remove unnecessary policy flags.Jeff Brown2014-04-091-7/+3
| | | | | | | | | | | | | | | Bug: 13133142 Change-Id: Ib6c63ebad25d84f78623b4a46ccf83953d235fe7
| * | Generate ACTION_CANCEL on joystick disconnect. DO NOT MERGEMichael Wright2014-03-241-3/+8
| | | | | | | | | | | | | | | Bug: 11480300 Change-Id: I5a4096970c9e588d134f05dd0eb3a9c91c836b2f
| * | b/12068020 add nonce to InputDeviceDescriptor. Do not mergeRoboErik2014-03-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is a cherry-pick of https://googleplex-android-review.git.corp.google.com/#/c/401795/ Adds a nonce field to allow generation of unique descriptors for input devices. Change-Id: Ie82bfb728bea95792b3b138dd3974f8b0aff63e0
| * | Add MAX_CONTROLLER_LEDS constant. DO NOT MERGEMichael Wright2014-03-111-0/+3
| | | | | | | | | | | | Change-Id: Ie6dbce926280c748f39e3c54d2ed4accbdcf9e59
* | | Generate ACTION_CANCEL on joystick disconnect.Michael Wright2014-03-201-3/+8
| | | | | | | | | | | | | | | Bug: 11480300 Change-Id: I46706838eec0711c6bf345301e7b4ccbad83b063
* | | am d711ef1d: am 37bf0789: Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.Jeff Brown2014-03-081-0/+2
|\ \ \ | |/ / | | | | | | | | | * commit 'd711ef1d78581a598e23be9730246cfa8ca75bb2': Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.
| * | Declare KEYCODE_SLEEP and KEYCODE_WAKEUP.Jeff Brown2014-03-071-0/+2
| | | | | | | | | | | | | | | Bug: 12938999 Change-Id: I544661b3887332998d703b7b2df9e56c23ab48c4
| * | Parse LED mappings in keylayout files. DO NOT MERGEMichael Wright2014-03-034-2/+65
| | | | | | | | | | | | Change-Id: I2b34939cc0df256e6b872502ea93f2884b4c8334
| * | Add method to apply offset to PointerCoords. (DO NOT MERGE)Jeff Brown2014-02-111-0/+1
| |/ | | | | | | Change-Id: I3dc2ba22b026e5b8e1c3d90f7366ec09a59ce6b6
| * Remove input flinger stubs. (DO NOT MERGE)Jeff Brown2013-08-221-54/+0
| | | | | | | | | | Bug: 10446930 Change-Id: I4dd46f539cd2a2e324dfc83b45ba2787f7404a4a
* | Add support for injecting events into ActivityContainers.Jeff Brown2014-02-111-0/+1
| | | | | | | | | | | | | | | | | | 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
* | b/12068020 add nonce to InputDeviceDescriptorRoboErik2013-12-191-0/+5
| | | | | | | | | | | | | | Adds a nonce field to allow generation of unique descriptors for input devices. Change-Id: I978b6c5e9edc9e0a6aa60f85cd8d4efc42ac2999
* | Add MAX_CONTROLLER_LEDS constantMichael Wright2013-10-211-0/+3
| | | | | | | | Change-Id: I5ec972338c50647049bb5a8279847d54a84d9f70
* | Parse LED mappings in keylayout filesMichael Wright2013-10-184-2/+65
|/ | | | Change-Id: I6bc3760341868015f054d9866e2616a312da94e0
* Add controller numbers for gamepads / joysticksMichael Wright2013-07-221-2/+4
| | | | Change-Id: I5294aabbadb836a6a4c7ce76a670abcf50c1f885
* Merge "Add input device property for buttons under touchpads"Michael Wright2013-07-191-0/+4
|\
| * Add input device property for buttons under touchpadsMichael Wright2013-07-111-0/+4
| | | | | | | | | | Bug: 8990644 Change-Id: I6df5fb9e11199173d62523928082db428af55394
* | Merge "Completely remove skia dependency from libinput."Jeff Brown2013-07-161-21/+0
|\ \
| * | Completely remove skia dependency from libinput.Jeff Brown2013-07-151-21/+0
| | | | | | | | | | | | | | | | | | Including the tests... Change-Id: I6ec8f1a5ae7e7514831d7e3b430b3b37b0841b92
* | | Merge "Add a keycode to switch audio tracks (2/2)"michaelwr2013-07-161-0/+1
|\ \ \ | |/ / |/| |
| * | Add a keycode to switch audio tracks (2/2)Jaekyun Seok2013-07-121-0/+1
| |/ | | | | | | | | | | | | 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-2/+21
| | | | | | | | | | | | Quick hack to remove Skia dependency from libinput. Change-Id: Ibaf2e312236f5e3f7251fa903ce381456a77467c
* | Add skeleton of input flinger.Jeff Brown2013-07-151-0/+54
|/ | | | Change-Id: I7f25080e446d4d3d9de9b18fe432a09bc751e0d9
* Move input library code from frameworks/base.Jeff Brown2013-07-0110-0/+2483
Change-Id: I4983db61b53e28479fc90d9211fafff68f7f49a6