Skip to content

Commit

Permalink
epicmtd: Remap hardware arrow keys.
Browse files Browse the repository at this point in the history
Remap keys from a landscape perspective to a portrait
perspective, so that it can be properly rotated by the
system depending on the screen orientation.

Required with the merge of patch
http://review.cyanogenmod.org/#/c/50214/ which removed
the requirement for keyboard.orientationAware to
be set in an idc file, thus exposing the flawed keymapping.

Change-Id: I7cc64983b07be8d45ae990ee30d573c324dbfd18
  • Loading branch information
bbelos committed Oct 3, 2013
1 parent e5aba83 commit 850450f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prebuilt/usr/keylayout/s3c-keypad.kl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ key 35 V WAKE_DROPPED
key 36 B WAKE_DROPPED
key 37 N WAKE_DROPPED
key 38 M WAKE_DROPPED
key 39 DPAD_UP WAKE_DROPPED
key 39 DPAD_RIGHT WAKE_DROPPED
key 40 ENTER WAKE_DROPPED

key 41 SHIFT_LEFT WAKE_DROPPED
Expand All @@ -54,9 +54,9 @@ key 45 SPACE WAKE_DROPPED

key 46 CAMERA
key 47 PERIOD WAKE_DROPPED
key 48 DPAD_LEFT WAKE_DROPPED
key 49 DPAD_DOWN WAKE_DROPPED
key 50 DPAD_RIGHT WAKE_DROPPED
key 48 DPAD_UP WAKE_DROPPED
key 49 DPAD_LEFT WAKE_DROPPED
key 50 DPAD_DOWN WAKE_DROPPED

key 51 VOLUME_UP WAKE
key 52 VOLUME_DOWN WAKE
Expand Down

0 comments on commit 850450f

Please sign in to comment.