Join GitHub today
HHKB Pro 2 Type-S RN42 Bluetooth mode does not work with Karabiner #213
I want to achieve this effect on my mac:
This is my configuration for Karabiner: https://gist.github.com/ylorn/43b589daf6d621a7fc47
I tried this file with the internal keyboard of my MacBook Pro, it works just as I expected; I tried this file with the HHKB, with your bluetooth board in it, and connect it to my mac using a USB cable, it still works just as I expected; However, when I disconnect the USB cable and turn on the bluetooth switch, it surely does work as a shift modifier key, but not the simulation of Command + Space.
I was wondering if there is anything to do with the Vender ID and Product ID? Because when I connect it using a USB cable, it shows as a keyboard and has a proper Vender ID and Product ID, just like the image below:
And I also tried to achieve this by custom the keymap.
 = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_FN4),  = ACTION_MODS_KEY(MOD_LGUI, KC_SPACE),
But it can only work as a modifier key.
So these are all I've tried, would you please give me some guide on how to make HHKB work with Karabiner on bluetooth mode? Or if there is any other workaround, please let me know.
I don't think the VID and PID are problem, I'm not sure how OSX and Karabiner handle BT device though. I can't come up with any cause on that right shift doesn't work on BT at this moment.
In TMK keymap you can't define functions like second and thrid of your examples.
Using Karabiner is easier if possible.
I don't have OSX :D
Just skimmed through Karabiner manual,
Your configuration looks leagal and it should work with bluetooth keyboard, but I suspsect that Chinese and English 'input method's setting for some reason.
As for Vendor ID and Product ID of the bluetooth keyboard, RN-42 has no method to configure them probably. If this is cause of the problem it is difficult to solve it.
Thanks for your reply!
I've always thought that you are using OS X:) Because OS X is natively friendly with Emacs, and I heard that's why every mac coder should use HHKB:)
For the input source filter, I think you're right. I should modify it to get it simpler.
I've already posted a similar issue to the author of the Karabiner. I hope, with his help, we can find out why and get this fixed.