diff --git a/genkeys.go b/genkeys.go index 4550cc95e..1eb5c3a1a 100644 --- a/genkeys.go +++ b/genkeys.go @@ -375,6 +375,7 @@ func init() { "KP7": "Numpad7", "KP8": "Numpad8", "KP9": "Numpad9", + "KPAdd": "NumpadAdd", "KPDecimal": "NumpadDecimal", "KPDivide": "NumpadDivide", "KPMultiply": "NumpadMultiply", diff --git a/keys.go b/keys.go index 555f2f250..16b261d96 100644 --- a/keys.go +++ b/keys.go @@ -165,6 +165,7 @@ const ( KeyKP7 Key = Key(ui.KeyNumpad7) KeyKP8 Key = Key(ui.KeyNumpad8) KeyKP9 Key = Key(ui.KeyNumpad9) + KeyKPAdd Key = Key(ui.KeyNumpadAdd) KeyKPDecimal Key = Key(ui.KeyNumpadDecimal) KeyKPDivide Key = Key(ui.KeyNumpadDivide) KeyKPEnter Key = Key(ui.KeyNumpadEnter)