2
0
mirror of https://github.com/OrbTools/OrbBind synced 2024-10-31 03:20:26 +00:00

Comma now bindable

This commit is contained in:
Minizbot2012 2022-02-02 19:50:05 -05:00
parent a0c26cd548
commit b6c2e2308a
No known key found for this signature in database
GPG Key ID: D0C6EC890E1FD033

View File

@ -45,6 +45,8 @@ func FyneToKeymap(e *fyne.KeyEvent) structs.Key {
return hid.GetMappingFromName("SHIFT_RIGHT")
case fyne.KeyTab:
return hid.GetMappingFromName("TAB")
case fyne.KeyComma:
return hid.GetMappingFromName("COMMA")
default:
return hid.GetMappingFromName("US_" + strings.ToUpper(string(e.Name)))
}