diff options
author | Nicolas Bacca | 2002-05-14 06:47:06 +0000 |
---|---|---|
committer | Nicolas Bacca | 2002-05-14 06:47:06 +0000 |
commit | a3e7a74e0702608100dc2b45fad8511e166eadf5 (patch) | |
tree | f7e57bdb95a36b25e14f942005cf41e3ca59ec18 /wince | |
parent | 02b6003c5a8cc7f9c2e5aed62a7258edf194fd0d (diff) | |
download | scummvm-rg350-a3e7a74e0702608100dc2b45fad8511e166eadf5.tar.gz scummvm-rg350-a3e7a74e0702608100dc2b45fad8511e166eadf5.tar.bz2 scummvm-rg350-a3e7a74e0702608100dc2b45fad8511e166eadf5.zip |
Mapped new action to remove subtitles on WinCE
svn-id: r4309
Diffstat (limited to 'wince')
-rw-r--r-- | wince/gapi_keys.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/wince/gapi_keys.cpp b/wince/gapi_keys.cpp index a9882c04e0..15612d2a73 100644 --- a/wince/gapi_keys.cpp +++ b/wince/gapi_keys.cpp @@ -27,7 +27,8 @@ const char* ActionsText[] = { "Keyboard", "Sound", "Right click", - "Cursor on/off" + "Cursor on/off", + "Subtitles on/off" }; bool _typeExists(int x) { @@ -65,11 +66,15 @@ void GAPIKeysInit(pAction *functions) { } void GAPIKeysGetReference() { + /* if(GetScreenMode()) { _keys = GXGetDefaultKeys(GX_LANDSCAPEKEYS); } else { _keys = GXGetDefaultKeys(GX_NORMALKEYS); } + */ + + _keys = GXGetDefaultKeys(GX_LANDSCAPEKEYS); } const unsigned char getGAPIKeyMapping(short key) { @@ -86,7 +91,7 @@ const unsigned char getGAPIKeyMapping(short key) { if (key == _keys.vkStart) return GAPI_KEY_VKSTART; - if (key == _keys.vkUp) + if (key == _keys.vkUp) return GAPI_KEY_VKUP; if (key == _keys.vkDown) |