aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-03-01 00:22:52 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-03-01 00:22:52 +0900
commit21db0850415ce95a300d51663c2365265343cdd3 (patch)
tree345ed2913481586e9a479797bf88aab563596aeb
parent23dc19065c182e61bce9c997f31e23b001a85f2c (diff)
win32: track layout toggle with F11
-rw-r--r--win32/main.c3
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;
}
}
}