From 21db0850415ce95a300d51663c2365265343cdd3 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 1 Mar 2017 00:22:52 +0900 Subject: win32: track layout toggle with F11 --- win32/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/main.c') diff --git a/win32/main.c b/win32/main.c index 1e637b7..6269359 100644 --- a/win32/main.c +++ b/win32/main.c @@ -540,6 +540,9 @@ static void on_key(HWND hwnd, UINT vk, BOOL down, int repeat, UINT scan) { g.sound->pause(g.sound, g.paused); } break; + case VK_F11: + fmdsp_dispstyle_set(&g.fmdsp, (g.fmdsp.style+1) % FMDSP_DISPSTYLE_CNT); + break; } } } -- cgit v1.2.3