apprt/gtk: comment on what is going on with keyval mapping

This commit is contained in:
Mitchell Hashimoto
2023-10-28 08:42:35 -07:00
parent 6b7dd1479d
commit c2adf22858

View File

@ -906,6 +906,8 @@ fn keyEvent(
}
}
// Before using the physical key, try to convert the keyval
// directly to a key. This allows the use of key remapping.
if (gtk_key.keyFromKeyval(keyval)) |key| {
break :key key;
}