summaryrefslogtreecommitdiffstats
path: root/cmds/input
Commit message (Collapse)AuthorAgeFilesLines
* Fix check for default source in input commandMichael Wright2013-08-221-1/+1
| | | | Change-Id: I30b062e78c7d4de59a5530999e6332ba3053f7c9
* Fix swipe end locationMichael Wright2013-07-221-1/+1
| | | | Change-Id: I997ca30dc5399b36e13516c4aeadbdf6fa357df7
* Allow duration without source to be set for input commandsMichael Wright2013-07-171-76/+95
| | | | Change-Id: Ib04badeddf0e9d6ff1b275da34ad259f59c1cbbd
* Add longpress support to keyevent.Jeff Sharkey2013-04-291-8/+17
| | | | Change-Id: I578cb7dd910425ce07fbe56412a4dc2e0c379e65
* Merge commit 'b3f66877' into afdmergeJeff Sharkey2013-04-291-7/+9
|\ | | | | | | Change-Id: I319863cf23b2e6eacfa4508f7b111fba7b1cbc24
| * input: added support for multiple keyeventsDiego Torres Milano2013-04-291-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | - Multiple keyevents can now be send from the command line: input keyevent <key code number or name> ... Sometimes invoking 'input' repeatedly does not send the events fast enough, this change solves the problem by allowing multiple key code number or names be added to the command line. Change-Id: I0d0f34bddd99e0195c9badff2f8b3e2aa9a51737
* | Add touchnavigation to input debugging command.Jeff Brown2013-04-101-3/+7
| | | | | | | | | | Bug: 8583760 Change-Id: I9b150133e3d9ca9fe970550f5c0d7c18e6c7b558
* | am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"Kenny Root2012-11-071-0/+0
|\ \ | |/ | | | | | | * commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6': Correct executable bit for source files
| * am 768d9e1a: Merge "Correct executable bit for source files"Kenny Root2012-11-071-0/+0
| |\ | | | | | | | | | | | | * commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
| | * Correct executable bit for source filesKenny Root2012-11-071-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
* | | Change adb-shell-input utility to use duration for swipeChet Haase2012-10-021-7/+18
|/ / | | | | | | Change-Id: Id48fade60a07220c0672697f5771b75f984ee5bd
* | IME support for trackball and generic motion eventsVictoria Lease2012-09-101-17/+89
|/ | | | | | | | | | | | | | | Trackball and generic motion events now pass through the IME in case it would like to handle them before passing them on to the view hierarchy. While I was at it, I also... ...fixed the documentation on InputMethodService.onKeyUp() ...added documentation to InputMethodService.onTrackballEvent() ...added trackball and generic motion events to the "input" command ...fixed input consistency verification involving ACTION_OUTSIDE Bug: 7050005 Change-Id: I40ab68df4a9542af6df25de6ec2ec500e4c02902
* Empower the 'input' command with keycode labels.Jeff Brown2012-05-091-4/+6
| | | | Change-Id: Ia077f8ee0732599cec9b04efc2f828d3d22f5bac
* Request key maps from input manager service.Jeff Brown2012-04-101-2/+4
| | | | | | | | | | | | | | | | | | Instead of each application loading the KeyCharacterMap from the file system, get them from the input manager service as part of the InputDevice object. Refactored InputManager to be a proper singleton instead of having a bunch of static methods. InputManager now maintains a cache of all InputDevice objects that it has loaded. Currently we never invalidate the cache which can cause InputDevice to return stale motion ranges if the device is reconfigured. This will be fixed in a future change. Added a fake InputDevice with ID -1 to represent the virtual keyboard. Change-Id: If7a695839ad0972317a5aab89e9d1e42ace28eb7
* Move some APIs from window manager to input manager.Jeff Brown2012-04-051-27/+12
| | | | | | | | | | Simplified input injection API down to just one call. Removed all input state reading API. It was only used by the window manager policy and required a permission that applications could not obtain. READ_INPUT_STATE is now unused and deprecated. Change-Id: I41278141586ddee9468cae0fb59ff0dced6cbc00
* Add tap and swipe capabilities to the "input" tool.Jeff Brown2011-12-061-49/+88
| | | | Change-Id: Ia2950d281ef04232c5134fa045ce18272fbd6f81
* Added support for full PC-style keyboards.Jeff Brown2010-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BREAKING CHANGE: Redesigned the key character map format to accomodate full keyboards with more comprehensive suite of modifiers. Old key character maps will not work anymore and must be updated. The new format is plain text only and it not compiled to a binary file (so the "kcm" tool will be removed in a subsequent check-in). Added FULL keyboard type to support full PC-style keyboards. Added SPECIAL_FUNCTION keyboard type to support special function keypads that do not have any printable keys suitable for typing and only have keys like HOME and POWER Added a special VIRTUAL_KEYBOARD device id convention that maps to a virtual keyboard with a fixed known layout. This is designed to work around issues injecting input events on devices whose built-in keyboard does not have a useful key character map (ie. when the built-in keyboard is a special function keyboard only.) Modified several places where events were being synthesized to use the virtual keyboard. Removed support for the "qwerty" default layout. The new default layout is "Generic". For the most part "qwerty" was being used as a backstop in case the built-in keyboard did not have a key character map (probably because it was a special function keypad) and the framework needed to be able to inject key events anyways. The latter issue is resolved by using the special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD. Added the concept of a key modifier behavior so that MetaKeyKeyListener can distinguish between keyboards that use chorded vs. toggled modifiers. Wrote more robust key layout and key character map parsers to enable support for new keyboard features and user installable key maps. Fixed a bug in InputReader generating key ups when keys are released out of sequence. Updated tons of documentation. Currently QwertyKeyListener is being used for full keyboards with autotext and capitalization disabled. This mostly works but causes some problems with character pickers, etc. These issues will be resolved in subsequent changes. Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
* add execution permission to "input" scriptGuang Zhu2010-04-151-0/+0
| | | | | | | | Although when building system image, "input" script will be given execution permission, adb sync will push a version without x onto device from build tree. Refer to frameworks/base/cmds/svc/svc, which has execution bit set. Change-Id: I3e5bf0ce1a65133cb259d5c78456d36783c06b80
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-035-0/+354
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-035-354/+0
|
* Initial ContributionThe Android Open Source Project2008-10-215-0/+354