feat: switch text to UTF-8; add Unicode key events, dead keys & Czech layout; fix numpad navigation; add NumLock support
This commit is contained in:
1 parent
32660ddd1a
commit
2aa6360b3d
101 files changed
+3733
-1639
No files matched your search
@@ -469,12 +469,12 @@ static bool handle_key(const montauk::abi::KeyEvent& key) {
|
||||
g_win.closed = true;
|
||||
return false;
|
||||
}
|
||||
if (key.scancode == 0x4D || key.ascii == '+' || key.ascii == '=') {
|
||||
if (montauk::nav_scancode(key) == 0x4D || key.ascii == '+' || key.ascii == '=') {
|
||||
if (g_master_muted) toggle_master_mute();
|
||||
apply_master_volume(g_master_vol + 5);
|
||||
return true;
|
||||
}
|
||||
if (key.scancode == 0x4B || key.ascii == '-') {
|
||||
if (montauk::nav_scancode(key) == 0x4B || key.ascii == '-') {
|
||||
if (g_master_muted) toggle_master_mute();
|
||||
apply_master_volume(g_master_vol - 5);
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user