Skip to content

Commit 4aeaa2e

Browse files
committed
added not-ISMOBILE guards to vr.cpp
1 parent 5fd863c commit 4aeaa2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vr.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,6 +1634,7 @@ EX void show_vr_quickmenu() {
16341634
}
16351635

16361636
bool vr_keys(int sym, int uni) {
1637+
#if !ISMOBILE
16371638
if(!(cmode & sm::NORMAL)) return false;
16381639
const Uint8 *keystate = SDL12_GetKeyState(NULL);
16391640
#if CAP_SDL2
@@ -1647,6 +1648,7 @@ bool vr_keys(int sym, int uni) {
16471648
if(dialog::key_actions.count(uni)) { dialog::key_actions[uni](); return true; }
16481649
}
16491650
return false;
1651+
#endif
16501652
}
16511653

16521654
auto hookvr = addHook(vr_quickmenu_extensions, 100, [] {

0 commit comments

Comments
 (0)