diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-01 00:22:52 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-01 00:22:52 +0900 |
commit | 21db0850415ce95a300d51663c2365265343cdd3 (patch) | |
tree | 345ed2913481586e9a479797bf88aab563596aeb | |
parent | 23dc19065c182e61bce9c997f31e23b001a85f2c (diff) |
win32: track layout toggle with F11
-rw-r--r-- | win32/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } } } |