diff options
author | tmk <tmk@users.noreply.github.com> | 2015-03-07 06:19:44 +0100 |
---|---|---|
committer | tmk <tmk@users.noreply.github.com> | 2015-03-07 06:19:44 +0100 |
commit | 1650d4692caca6c272ba705168065236280f4889 (patch) | |
tree | 69633158cacc1d1c5bd736a72c402d1987d355c9 /FAQ-Keymap.md | |
parent | 64e64e5153c9659a09e0bd9f297fd69a91f4a61d (diff) | |
download | qmk_firmware-1650d4692caca6c272ba705168065236280f4889.tar.gz qmk_firmware-1650d4692caca6c272ba705168065236280f4889.tar.xz |
Updated FAQ Keymap (markdown)
Diffstat (limited to 'FAQ-Keymap.md')
-rw-r--r-- | FAQ-Keymap.md | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/FAQ-Keymap.md b/FAQ-Keymap.md index 0f0e646c4..135c86710 100644 --- a/FAQ-Keymap.md +++ b/FAQ-Keymap.md @@ -60,4 +60,25 @@ On **Xorg** you can use `compose` key, instead. - http://en.wikipedia.org/wiki/Compose_key And see this for **Unicode** input. -- http://en.wikipedia.org/wiki/Unicode_input
\ No newline at end of file +- http://en.wikipedia.org/wiki/Unicode_input + + +### Apple keyboard Fn +Not supported. + +Apple keyboard sends keycod for Fn unlike most of other keyboards. +I think you can send Apple Fn key using Appleventer Page 0xff00 and usage 0x0003. You have to change HID Report Descriptor, of course. + +https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-606.1.7/IOHIDFamily/AppleHIDUsageTables.h + + +## Mac OSX suppors key? +You can know which keycodes are supported in OSX from this source code. + +`usb_2_adb_keymap` array maps Keyboard/Keypad Page usages to ADB scancodes(OSX internal keycodes). + +https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-606.1.7/IOHIDFamily/Cosmo_USB2ADB.c + +And `IOHIDConsumer::dispatchConsumerEvent` handles Consumer page usages. + +https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-606.1.7/IOHIDFamily/IOHIDConsumer.cpp
\ No newline at end of file |