Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

droid: add LCTRL, RCTRL and CAPSLOCK

  • Loading branch information...
commit f68634b7549d5089349867c2cbcd5cbf83a0950c 1 parent 02888fe
@davilla davilla authored
View
3  xbmc/android/activity/AndroidExtra.h
@@ -24,3 +24,6 @@
//Additional defines from android.view.KeyEvent (http://developer.android.com/reference/android/view/KeyEvent.html)
#define AKEYCODE_ESCAPE 111
#define AKEYCODE_FORWARD_DEL 112
+#define AKEYCODE_CTRL_LEFT 113
+#define AKEYCODE_CTRL_RIGHT 114
+#define AKEYCODE_CAPS_LOCK 115
View
3  xbmc/android/activity/AndroidKey.cpp
@@ -139,6 +139,9 @@ static KeyMap keyMap[] = {
{ AKEYCODE_BUTTON_MODE , XBMCK_LAST },
{ AKEYCODE_ESCAPE , XBMCK_ESCAPE },
{ AKEYCODE_FORWARD_DEL , XBMCK_DELETE }
+ { AKEYCODE_CTRL_LEFT , XBMCK_LCTRL }
+ { AKEYCODE_CTRL_RIGHT , XBMCK_RCTRL }
+ { AKEYCODE_CAPS_LOCK , XBMCK_CAPSLOCK }
};
bool CAndroidKey::onKeyboardEvent(AInputEvent* event)
Please sign in to comment.
Something went wrong with that request. Please try again.