flutter/dev/tools/gen_keycodes/data
Greg Spencer c921c5ae67
Add macOS fn key support. (#44410)
This adds support for the fn key on macOS. It adds it to the key mappings as a supplemental mapping that overwrites the one from the Chrome headers, since the chrome headers have a TODO, but no implementation of the key.

Also, ignore the fn key entirely on macOS. This is because On macOS laptop keyboards, the fn key is used to generate home/end and f1-f12, but it ALSO generates a separate down/up event for the fn key itself. Other platforms hide the fn key, and just produce the key that it is combined with, so to keep it possible to write cross platform code that looks at which keys are pressed, the fn key is ignored.
2019-11-08 16:30:38 -08:00
..
key_data.json Add macOS fn key support. (#44410) 2019-11-08 16:30:38 -08:00
key_name_to_android_name.json Game controller button support (#33868) 2019-06-05 16:23:17 -07:00
key_name_to_glfw_name.json Update keyboard maps (#40697) 2019-09-17 13:24:54 -07:00
keyboard_key.tmpl Add macOS fn key support. (#44410) 2019-11-08 16:30:38 -08:00
keyboard_maps.tmpl Add macOS fn key support. (#44410) 2019-11-08 16:30:38 -08:00
printable.json Adding support for logical and physical key events (#27627) 2019-02-08 12:42:34 -08:00
supplemental_hid_codes.inc Add macOS fn key support. (#44410) 2019-11-08 16:30:38 -08:00
synonyms.json Add pseudo-key synonyms for keys like shift, meta, alt, and control. (#33695) 2019-06-03 18:41:04 -07:00