Skip to content
  • Michael Natterer's avatar
    quartz: make function keys work (again?) · 55f9e5cb
    Michael Natterer authored and Michael Natterer's avatar Michael Natterer committed
    The F keys have no unicode mapping, and UCKeyTranslate() returns
    a bogus 0x10 as mapping to unicode. Instead of checking for this
    random and undocumented return value, simply assign all function
    keys explicitly. This patch also splits the ill-named "known_keys"
    array into "modifier_keys" and "function_keys" which is much
    more obvious.
    (cherry picked from commit 0b24f162)
    55f9e5cb