linebender / glazier

Deprecated Rust Window Creation Library
Apache License 2.0
206 stars 32 forks source link

Add missing F-key bindings for xkb and Windows. #160

Closed waywardmonkeys closed 1 year ago

waywardmonkeys commented 1 year ago

With keyboard-types 0.7, we have additional F-keys that can be mapped when using xkb.

On Windows, we had not fully added mappings for some F13-F24.

I haven't found scan codes yet for the F25-F35 keys.

CryZe commented 1 year ago

Is there evidence that these keys even exist?

waywardmonkeys commented 1 year ago

Assuming you mean F25-F35, xkb has stuff for them, winit does as well, and the winit folks asked that these get added to keyboard-types.

My keyboards are (apparently) rather dull and don't have anything past F12.

waywardmonkeys commented 1 year ago

In trying some things out, I've found at least a couple of bugs in other code in Glazier ...