Skip to content

Instantly share code, notes, and snippets.

@j1n6
Created February 14, 2017 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j1n6/33e32ddbfc7ab07c27f412c863f9ff18 to your computer and use it in GitHub Desktop.
Save j1n6/33e32ddbfc7ab07c27f412c863f9ff18 to your computer and use it in GitHub Desktop.
Customizing keymap for HHKB Hasu's Bluetooth TMK controller
brew tap osx-cross/avr
# take long time to compile
brew install avr-libc
brew install dfu-programmer
# turn hhkb to bootloader mode
# LShift + RShift + Fn + p
# prepare tmk keymap and download HEX `keymap.hex` file
# http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?hhkb
sudo dfu-programmer atmega32u4 erase
sudo dfu-programmer atmega32u4 flash keymap.hex
sudo dfu-programmer atmega32u4 start
# OSX should popup to setup the keyboard by now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment