hanks / HHKBAssistant_for_mac

A funny helper tool for HHKB professional keyboard on mac. Its main job is that it can auto detect the HHKB professional keyboard plugged in and out, and do some actions you want.
MIT License
197 stars 17 forks source link

The build in keyboard is enabled by default. When USBDeviceManager #1

Closed advancedxy closed 9 years ago

advancedxy commented 10 years ago

handles keyboard plugged in/out event, it also reset the kbStatus. Hide the enable/disable keyboard menu item when there is no external keyboard.

hi. This commit is a workaround for build in keyboard status detection. We first assume the build kb is enabled by default, we can reset the kbStatus when there's keyboard plugged in/out event.

This commit also hide the enable/disable menu when there is no external keyboard. I wanted to disable the menu, but the api is only available by 10.10.

I think this app has something more to polish. Hope we can get a better version.