summaryrefslogtreecommitdiffstats
path: root/remoting/client/key_event_mapper.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch to standard integer types in remoting/.avi2015-12-221-5/+7
| | | | | | | | | BUG=138542 TBR=wez@chromium.org Review URL: https://codereview.chromium.org/1542203002 Cr-Commit-Position: refs/heads/master@{#366684}
* Standardize usage of virtual/override/final in remoting/dcheng2014-10-211-2/+2
| | | | | | | | | | | | This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/667123002 Cr-Commit-Position: refs/heads/master@{#300472}
* replace OVERRIDE and FINAL with override and final in remoting/mostynb2014-10-081-1/+1
| | | | | | | | BUG=417463 Review URL: https://codereview.chromium.org/628753002 Cr-Commit-Position: refs/heads/master@{#298734}
* Chromoting: fixing caps lock issue with mac host.weitaosu@chromium.org2013-06-261-1/+1
| | | | | | | | | | | | | | | | | The caps lock key doesn't work on a mac host: it doesn't toggle the caps lock state and the remote keyboard outputs upper or lower case letters depending on the caps lock state of the last local keyboard used. For example, if there are two local keyboards: keyboard 1 has caps lock on and keyboard 2 has caps lock off. If keyboard 1 was used last, the remote keyboard will output upper case letters; and if keyboard 2 was used last, lower case letters. Here are all the changes to fix the caps lock problem: 1. The KeyEvent proto buffer now contains a modifier_state field. 2. The client will set caps lock and num lock on the modifier_state field in the key event message appropriately. 3. The mac host now uses CGEventCreateKeyboardEvent/CGEventPost instead of the deprecated CGPostKeyBoardEvent to inject key events on a mac. 4. The mac host will set the caps lock flag with a key event if caps lock is on in the event message. 5. Update the unit tests for the key events. BUG=248275 Review URL: https://chromiumcodereview.appspot.com/16035018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208633 0039d316-1c4b-4281-b951-d872f2087c98
* Add APIs to the client plugin to re-map and trap key events.wez@chromium.org2012-04-091-0/+54
Re-mapped events allow keys to be re-mapped by the plugin before being delivered to the host. Trapped events are posted to the web-app in a trappedKeyEvent message, allowing more complex processing to be performed, at the cost of higher input latency. BUG=121787 Review URL: http://codereview.chromium.org/10025001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131321 0039d316-1c4b-4281-b951-d872f2087c98