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:
daniel committed 2026-10-03 10:11:49 +02:00
1 parent 32660ddd1a
commit 2aa6360b3d
101 files changed
+3733 -1639

No files matched your search

+2 -2
View File
@@ -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;