mirror of
https://github.com/kekkodance/webos-steam-view.git
synced 2026-10-06 10:00:21 +02:00
TV: trace incoming keycodes
This commit is contained in:
1 parent
42a9ef4cb9
commit
cc8d7b9733
1 file changed
+1
@@ -332,6 +332,7 @@ int main(int argc, char **argv) {
|
||||
g_running = 0;
|
||||
} else if (ev.type == SDL_KEYDOWN) {
|
||||
SDL_Keycode k = ev.key.keysym.sym;
|
||||
osd_trace("key sym=%d scancode=%d", (int) k, (int) ev.key.keysym.scancode);
|
||||
if (k == SDLK_ESCAPE || k == SDLK_AC_BACK) {
|
||||
if (app.state == APP_STATE_STREAMING && app.session != NULL) {
|
||||
app_teardown_session();
|
||||
|
||||
Reference in new issue
Block a user