Run script on phone connect/disconnect

This commit is contained in:
Niellun
2025-05-26 00:15:04 +03:00
parent ec96c84a00
commit b2476e3480
8 changed files with 59 additions and 9 deletions
+4
View File
@@ -108,6 +108,10 @@ void processKey(Protocol &protocol, SDL_Keysym key)
SDL_SetWindowBordered(window, fullscreen ? SDL_FALSE : SDL_TRUE);
break;
case SDLK_q:
active = false;
break;
case SDLK_LEFT:
protocol.sendKey(100);
break;