mirror of
https://github.com/OrbTools/OrbBind
synced 2024-10-31 03:20:26 +00:00
Comma now bindable
This commit is contained in:
parent
a0c26cd548
commit
b6c2e2308a
@ -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)))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user