Author Topic: [TMK] Alternative Controller for HHKB  (Read 546632 times)

0 Members and 1 Guest are viewing this topic.

Offline rmqz

  • Posts: 1
    • TRP Blog
Re: Alternative Controller for HHKB
« Reply #400 on: Tue, 03 November 2015, 00:20:14 »
..
« Last Edit: Tue, 03 November 2015, 07:48:34 by rmqz »

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: Alternative Controller for HHKB
« Reply #401 on: Wed, 04 November 2015, 18:37:42 »
i've just installed the controller,
but i noticed that when i hold L1, there's actually a(n initial) delay before any L1-key is registered on my PC.
so i can just type L1 + ` to get delete, but it actually takes a short while before my PC registers the delete.
this delay happens only at the beginning of pressing L1, meaning that after that short delay, any key will register instantly.
however, it does happen every time i swap to L1..

is this supposed to happen? can i fix it somehow?
the delay is rather annoying :(
« Last Edit: Wed, 04 November 2015, 19:50:37 by Bucake »
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #402 on: Wed, 04 November 2015, 20:45:51 »
What is your keymap exactly? I think you are using keymap editor,  can you post link to your keymap?

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #403 on: Wed, 04 November 2015, 21:01:36 »
Bucake,
Not completely sure but I think I fixed the problem or something very similar somewere in the past.
Are you using the latest firmware? Try keymap editor again.

I confirmed no delay on that key with default layout firmware from keymap editor.

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: Alternative Controller for HHKB
« Reply #404 on: Wed, 04 November 2015, 21:09:44 »
i haven't uploaded anything yet, everything's still how it arrived.
hard to say how much the delay exactly is. somewhere between 100ms and 200ms i'd say.
there's no delay after i switch to L0, however.

edit: to be clear, it's not just Delete. it's like there is a short pause after i press L1, and only after this short pause will any key from the L1 layer come through.
i figured this shipped with latest firmware, but i guess i'll start by updating it : )
« Last Edit: Wed, 04 November 2015, 23:22:15 by Bucake »
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: Alternative Controller for HHKB
« Reply #405 on: Wed, 04 November 2015, 22:50:00 »
just uploaded new firmware, unfortunately the delay is still there. (i used the keymap editor to create the .hex file.)
i have 2 layers, and both have that same initial delay.

any thoughts?


edit: this is a rev.G, btw.
everything seems to be working perfectly fine, but there's that initial delay after pressing a monetary layer switch..
if i could do any tests to narrow it down, please let me know.
« Last Edit: Wed, 04 November 2015, 23:34:37 by Bucake »
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #406 on: Thu, 05 November 2015, 01:23:43 »
Ah, firmware of keymap editor is not the latest and it still has the problem.
But the problem was fixed in repository.
https://github.com/tmk/tmk_keyboard/issues/201

I'll update keymap editor some later, but unitl then   you have to buld from the latest source to circumvent the problem.

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: Alternative Controller for HHKB
« Reply #407 on: Thu, 05 November 2015, 01:45:00 »
nice! thanks alot for the help hasu, i'm glad it's fixable : )
i guess i'll try to figure out how to build the firmware this weekend.

thanks again, much appreciated
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #408 on: Sun, 08 November 2015, 21:15:03 »
Updated firmwre of keymap editor for both USB and BT. You can download the latest firmware from keymap editor now.
http://www.tmk-kbd.com/tmk_keyboard/editor/

This will fix some problems including "unneeded delay in momentary layer switch".
https://github.com/tmk/tmk_keyboard/issues/201

Offline lootbag

  • Posts: 291
  • Location: HK
Re: Alternative Controller for HHKB
« Reply #409 on: Tue, 24 November 2015, 06:00:07 »
Just received my BT controller today, it is like instant gratification... even though I haven't had the chance to test out the BT function yet.
Being able to customize the layout with FLIP GUI is a lifesaver because I have zero experience with coding and writing keyboard firmware.
My desire to put together a custom 60% has all but diminished haha.

Thanks hasu!

On another note, because I am in Hong Kong, ordering a battery from sparkfun or adafruit was a no-go due to prohibitively expensive shipping.
Looked on ebay and found...
- a 2600mah http://www.ebay.com/itm/261625368941
- a 1700mah http://www.ebay.com/itm/262080723867

Both batteries are stated to have built-in circuit protection.

2600mah fits tight but works


1700mah fits but the peg on the top half of the case makes contact and doesn't allow the case to close... oops


Now I am just waiting for my JST-PH connectors and crimps to arrive so I can test the BT.
« Last Edit: Tue, 24 November 2015, 06:02:16 by lootbag »

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #410 on: Tue, 24 November 2015, 20:18:18 »
Thanks for posting your finding and pics.

You can still try BT without battery. Just hook up to USB port and turn BT on :D
Not *wireless* but it should work.

Offline lootbag

  • Posts: 291
  • Location: HK
Re: Alternative Controller for HHKB
« Reply #411 on: Thu, 26 November 2015, 17:57:10 »
Oh I had no idea that BT would work with no battery.
Thanks for letting me know!

And yes, it is working because I am connected to my Nexus 6P and typing, very cool!

So does this mean I can connect a USB battery pack to the HHKB and be able to use the BT function as well without internal lipo battery?

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #412 on: Thu, 26 November 2015, 18:08:23 »
Yes, you can also use USB battery pack or AC adapter with USB connector to give controller power.

Offline jiexi

  • Posts: 26
Re: Alternative Controller for HHKB
« Reply #413 on: Thu, 17 December 2015, 02:15:21 »
I can't seem to get my controller into RN-42 Config mode.

I'm using https://www.pjrc.com/teensy/hid_listen.html

I flashed the keyboard back to HHKB keymap

I run hid_listen, I connect the keyboard, it says "Listening:"

I turn on BT

According to RN42.txt, pressing LShift+RShift+Fn+O should do the initial config and I should see printing to console, but i don't see anything.


Another issue, mouse 4 and 5 don't work in BT mode for me, but they work fine USB mode.

EDIT: This is on MacOS
« Last Edit: Thu, 17 December 2015, 02:42:26 by jiexi »

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #414 on: Thu, 17 December 2015, 04:55:42 »
I can't seem to get my controller into RN-42 Config mode.

I'm using https://www.pjrc.com/teensy/hid_listen.html

I flashed the keyboard back to HHKB keymap

I run hid_listen, I connect the keyboard, it says "Listening:"

I turn on BT

According to RN42.txt, pressing LShift+RShift+Fn+O should do the initial config and I should see printing to console, but i don't see anything.


Another issue, mouse 4 and 5 don't work in BT mode for me, but they work fine USB mode.

EDIT: This is on MacOS

Yes, you should see something on hid_listen console.

Can you see version info on hid_listen with LShift+RShift+v?
Post  your version info if you can.


IIRC, it is limitation of RN-42 mouse function, it cannot send more than three buttons and horizontal scroll.

Offline jiexi

  • Posts: 26
Re: Alternative Controller for HHKB
« Reply #415 on: Thu, 17 December 2015, 21:35:30 »
Don't see anything. Will try again on windows. I only need HID Listen, right? None of the avrgcc stuff?

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #416 on: Thu, 17 December 2015, 22:03:52 »
Yes, you need only hid_listen command from PJRC.

Did you change keymap from default?
Anyway, better flash default firmware from Keymap Editor withouth editing keymap.


Offline jiexi

  • Posts: 26
Re: Alternative Controller for HHKB
« Reply #417 on: Fri, 18 December 2015, 00:03:16 »
Hid listen working in windows, but I can only get rshift + lshift + v to work. the commands just show "?"

EDIT: rshift + lshift + i doesn't print info

Code: [Select]
Magic key combination is 'LShift+RShift' by default in case of HHKB.

Here is help.

    ----- Bluetooth RN-42 Help -----
    i:       RN-42 info
    b:       battery voltage
    Del:     enter/exit RN-42 config mode
    Slck:    RN-42 initialize
    p:       pairing
    u:       toggle Force USB mode

    RN-42 info:             displays information of the module on console.
    battery voltage:        displays current voltage of battery and uptime.
    RN-42 initialize:       does factory reset and configures RN-42
    pairing:                enters Pairing mode.
    toggle Force USB mode:  switch between USB and Bluetooth

is this still correct?

Bluetooth shouldn't be connected to any device, right?
« Last Edit: Fri, 18 December 2015, 00:29:49 by jiexi »

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #418 on: Fri, 18 December 2015, 00:52:22 »
From version info you are using USB version firmware. Make sure to Use BT version.

Offline jiexi

  • Posts: 26
Re: Alternative Controller for HHKB
« Reply #419 on: Fri, 18 December 2015, 02:58:43 »
I changed the key combo to KC_RALT, KC_RGUI and it's okay now. I also flashed BT firmware (not sure why it was USB before)

After I run Initial Configuration, I cannot pair to it anymore. Even if i put it into pair mode, it doesn't work.

Just stays on "Startup/configuration timer     2 times per sec", never enters "Discoverable/Inquiring/Idle     once per sec"

I tried to send Q,0 and was able to see device, but it doesn't connect. Continues to blink 2 times per sec.

Android can see it, but pairing fails.

Code: [Select]
Jiexi-MAC:Downloads Jiexi$ ./hid_listen.mac
Waiting for device:
Listening:

- Version -
DESC: t.m.k. keyboard firmware for HHKB mod
VID: 0xFEED(t.m.k.) PID: 0x4242(HHKB mod) VER: 0x0104
BUILD: a88a368 (01:14:55 Dec 18 2015)
OPTIONS: LUFA BOOTMAGIC MOUSEKEY EXTRAKEY CONSOLE COMMAND NKRO 4096
GCC: 4.9.3 AVR-LIBC: 1.8.1 AVR_ARCH: avr5
Entering config mode ...
CMD
Ver 6.15 04/26/2013
(c) Roving Networks
ECHO ON
SF,1
AOK
S-,HHKB
AOK
SS,Keyboard/Mouse
AOK
SM,6
AOK
SW,8000
AOK
S~,4
AOK
SH,003C
AOK
SY,FFF4
AOK
R,1
Reboot!
Exiting config mode ...
« Last Edit: Fri, 18 December 2015, 03:17:33 by jiexi »

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #420 on: Fri, 18 December 2015, 05:38:17 »
I have to know what your problem exactly is.
Do you think hardware of the board is ok? With default firmware does it work?
Problem is your configuration or your OS?

If you are not sure that, use default firmware downloaded from Keymap Editor.
You are still using your own firmware verion, right? This makes debug process very difficult,
because we cannot know your configuration, keymap and etc.

Quote
BUILD: a88a368 (01:14:55 Dec 18 2015)



I don't think "blink 2 times per sec" of LED appears in HID configured RN-42, config timer is function only for UART configuration of the module. Probably you are in 'Discoverable mode', in fact your Android discovered the device :D

Quote
Just stays on "Startup/configuration timer     2 times per sec", never enters "Discoverable/Inquiring/Idle     once per sec"

After initializing the moudule with LShift+RShift+Scrolllock  previous pairing information sotred in host becomes obsolete, you will have to remove that info before staring new pairing process. At least in Linux you have to. I don't know how to remove infor in Mac, though.

And reboot host is often helpful for some reason. I don't know why but really helpful sometime.



I changed the key combo to KC_RALT, KC_RGUI and it's okay now. I also flashed BT firmware (not sure why it was USB before)

After I run Initial Configuration, I cannot pair to it anymore. Even if i put it into pair mode, it doesn't work.

Just stays on "Startup/configuration timer     2 times per sec", never enters "Discoverable/Inquiring/Idle     once per sec"

I tried to send Q,0 and was able to see device, but it doesn't connect. Continues to blink 2 times per sec.

Android can see it, but pairing fails.

Code: [Select]
Jiexi-MAC:Downloads Jiexi$ ./hid_listen.mac
Waiting for device:
Listening:

- Version -
DESC: t.m.k. keyboard firmware for HHKB mod
VID: 0xFEED(t.m.k.) PID: 0x4242(HHKB mod) VER: 0x0104
BUILD: a88a368 (01:14:55 Dec 18 2015)
OPTIONS: LUFA BOOTMAGIC MOUSEKEY EXTRAKEY CONSOLE COMMAND NKRO 4096
GCC: 4.9.3 AVR-LIBC: 1.8.1 AVR_ARCH: avr5
Entering config mode ...
CMD
Ver 6.15 04/26/2013
(c) Roving Networks
ECHO ON
SF,1
AOK
S-,HHKB
AOK
SS,Keyboard/Mouse
AOK
SM,6
AOK
SW,8000
AOK
S~,4
AOK
SH,003C
AOK
SY,FFF4
AOK
R,1
Reboot!
Exiting config mode ...


Offline jiexi

  • Posts: 26
Re: Alternative Controller for HHKB
« Reply #421 on: Fri, 18 December 2015, 13:59:12 »
Dumb me... "S~, 4"

I meant to change "SM, 4"...

That makes sense why I could pair, but it would fail, or i couldn't type.

All fixed now...  :-\

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #422 on: Fri, 18 December 2015, 16:04:05 »
Dumb me... "S~, 4"

I meant to change "SM, 4"...

That makes sense why I could pair, but it would fail, or i couldn't type.

All fixed now...  :-\

Yeah... most of people can help theirself if people took a bit more time.
We couldn't help it cause we didn't know that you did that configuration!

Offline jiexi

  • Posts: 26
Re: Alternative Controller for HHKB
« Reply #423 on: Fri, 18 December 2015, 19:02:36 »
Last thing. During my debugging, I realized that the rn42_task doesn't always get recompiled even if it changes (I was changing the hotkey for BT from lshift + rshift to ralt+rgui). Even after make clean, rn42_task isn't guaranteed to be recompiled. If you delete the obj_hhkb_rn42 folder, then it will definitely be recompiled.

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: Alternative Controller for HHKB
« Reply #424 on: Tue, 22 December 2015, 23:37:06 »
Updated firmwre of keymap editor for both USB and BT. You can download the latest firmware from keymap editor now.

thank you hasu!

one small thing: i noticed that Web Back and Web Forward do not seem to be doing anything for me..?
(i'm using Win7 64bit + Chrome.)
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #425 on: Wed, 23 December 2015, 00:55:22 »
Updated firmwre of keymap editor for both USB and BT. You can download the latest firmware from keymap editor now.

thank you hasu!

one small thing: i noticed that Web Back and Web Forward do not seem to be doing anything for me..?
(i'm using Win7 64bit + Chrome.)

In keymap editor web back and forward operation have no meaning. It is just one page of web app so it doesn't make history entries on web browser.

EDIT: "web app" is not correct word, keymap editor is a just javascript program which runs completely on client side, you can use it even without network connection and server. Operations on it aren't accompanied by transition to specific URL and don't leave history on web browser. Undo and Redo of operation history would be useful but I don't have plan to add the features as of now. To be honest, I don't know about web programming enough.
« Last Edit: Wed, 23 December 2015, 01:35:35 by hasu »

Offline jiexi

  • Posts: 26
Re: Alternative Controller for HHKB
« Reply #426 on: Fri, 25 December 2015, 13:22:00 »
Weird bug for me.

I have lshift set as
Code: [Select]
ACTION_MODS_TAP_KEY(MOD_LSFT, KC_BSPC)
Let's say I type in the following:

Quote
ABc

I want to replace the 'c' with 'C'
1. I tap lshift, this gives me a backspace

Quote
AB

I want to add 'C'
2. I hold lshift and press 'c'

If I do 2 slowly after 1:
Quote
ABC

But, If I do 2 quickly after 1:
Quote
Ac

B is removed, and c is not capitalized. I keep getting this problem. Changing tap timeout doesn't fix the issue. Seems to be internal delay/timer.

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #427 on: Fri, 25 December 2015, 20:45:05 »
Interesing problem, I didn't expected this when 'repeating' feature was added.

'Repeat' feature causes the problem, you can repeat Backspace(tap key) by tap and hold.
This 'repeat' is curretnly hard-coded and not configurable unfortunately.

Messy codes related are around here if you want to look into.
https://github.com/tmk/tmk_keyboard/blob/master/tmk_core/common/action_tapping.c#L227-L263


Filed this issue.
https://github.com/tmk/tmk_keyboard/issues/287

EDIT: The 'repeating' is used on some keys(Space, ; and /) on my keymap, not critical but useful sometimes.
Code: [Select]
    [2] = ACTION_LAYER_TAP_KEY(2, KC_SLASH),          // Cursor layer with Slash*
    [3] = ACTION_LAYER_TAP_KEY(3, KC_SCLN),           // Mousekey layer with Semicolon*
    [4] = ACTION_LAYER_TAP_KEY(4, KC_SPC),            // Mousekey layer with Space
« Last Edit: Fri, 25 December 2015, 20:49:47 by hasu »

Offline jiexi

  • Posts: 26
Re: Alternative Controller for HHKB
« Reply #428 on: Sun, 27 December 2015, 16:46:06 »
This is a hard one. Simply commenting out code prevents tap toggle from working... Hmm...

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #429 on: Mon, 11 January 2016, 10:59:50 »

Offline zennasyndroxx

  • Posts: 646
  • It's good to be back!
Re: Alternative Controller for HHKB
« Reply #430 on: Fri, 15 January 2016, 08:46:15 »
there's still no way to get the hubs working with the custom controller?

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project

Offline apolotary

  • Posts: 279
  • Location: Fukushima, Japan
  • Кто-нибудь купите мои клавиатуры ;__;
Re: Alternative Controller for HHKB
« Reply #432 on: Sun, 31 January 2016, 02:57:09 »
I'm trying to flash a USB controller installed on HHKB Pro JP, using OS X 10.11.3 El Capitan. Downloaded keyboard software here: https://github.com/tmk/tmk_keyboard/tree/master/keyboard/hhkb

Here's the command I use:

Code: [Select]
make -f Makefile.jp KEYMAP=jp dfu

And here's the output:

Code: [Select]
dfu-programmer atmega32u4 erase
dfu-programmer atmega32u4 flash hhkb_lufa.hex
Validating...
22148 bytes used (77.25%)
dfu-programmer atmega32u4 reset

When I plug the keyboard back in, there's no output. What might be the problem?

edit: full log of the compilation process: http://pastebin.com/ZQ7iBcH9
« Last Edit: Sun, 31 January 2016, 03:17:42 by apolotary »

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #433 on: Sun, 31 January 2016, 04:54:58 »
I found you forgot to add '-f' in that log.

Offline apolotary

  • Posts: 279
  • Location: Fukushima, Japan
  • Кто-нибудь купите мои клавиатуры ;__;
Re: Alternative Controller for HHKB
« Reply #434 on: Sun, 31 January 2016, 05:07:49 »
I found you forgot to add '-f' in that log.

didn't help :( also my planck now stops working after a while, perhaps I got something corrupted, I'll try restoring my system to the latest backup

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: Alternative Controller for HHKB
« Reply #435 on: Mon, 01 February 2016, 10:49:57 »
i just noticed that AquaKeyTest shows 6KRO, not NKRO like i thought it should be?
am i missing something? :) i used the keymap editor to create the hex file for me. (USB, not BT.)
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #436 on: Mon, 01 February 2016, 17:02:46 »
i just noticed that AquaKeyTest shows 6KRO, not NKRO like i thought it should be?
am i missing something? :) i used the keymap editor to create the hex file for me. (USB, not BT.)

BT firmware of keymap editor disables NKRO to avoid confusion because NKRO in BT mode doesn't work. Of course BT controller can still use it in USB mode but you need to build firmware yourself.

USB firmware of keymap editor should work. See this FAQ entry.
https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: Alternative Controller for HHKB
« Reply #437 on: Tue, 02 February 2016, 18:36:09 »
USB firmware of keymap editor should work. See this FAQ entry.
https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work

thanks hasu for the reply.
i had actually tried that already - turns out it just doesn't seem to be working consistently(?)
often i have to unplug - replug the keyboard before i'm able to switch to NKRO, otherwise the command won't do anything.

another thing i noticed is that whenever i plug in the keyboard, it takes quite a long while before it's detected and working.
of course this is not an issue at all, but i do wonder why? could it be my PC, or is this normal with this controller? :)
it takes about ~15 seconds before it works, after plugging it in.
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #438 on: Tue, 02 February 2016, 19:21:55 »
HHKB controller comes up not so fast, but a few seconds. BT controller can be a bit longer due to LED blinking at startup. NKRO also works on my Windows 10 and Unbuntu 15.04 as what I expect. I didn't long test, though.

Something wrong with your PC/OS? 15 sec reminds me driver install process on Windows :D
Describing what you do and what you see in detail step by step may help, for example.
1. plugin into USB port
2. wait a few sec
3. press LShift+RShift+n

Offline venyv

  • Posts: 51
  • Location: The Beach
Re: Alternative Controller for HHKB
« Reply #439 on: Mon, 08 February 2016, 09:58:59 »
NVM got it working
« Last Edit: Mon, 08 February 2016, 10:25:48 by venyv »

Offline joric

  • Posts: 136
Re: Alternative Controller for HHKB
« Reply #440 on: Sun, 20 March 2016, 16:05:57 »
Just wanted to ask does it come with a preinstalled mouse layer? Which keys? If not, still, which keys do you prefer to switch into the mouse layer? Right Alt, I suppose?
Upd: Ok, Ok, there's no mouse layer by default.
Upd2: Regarding power saving, there was a discussion about using a separate wakeup sensor (proximity or piezoelectric) in order to have an ability to cut the main board completely off the grid. Not sure which sensor is better. I also think that instead of the sensor it's perfectly fine to use a separate mechanical switch (a button on the rear side or maybe hooked to the fn button or the spacebar) to wake up the board after 15 minutes of inactivity or so, that would work just fine too (I've ordered 2600 mAh battery that reportedly works for about 3 days - my Logitech MX Master works for about 8 days so it would be great to have at least something like that). Wondering if Rev G. allows this modification.
« Last Edit: Tue, 22 March 2016, 07:30:43 by joric »

Offline feralfoo

  • Posts: 49
  • Location: Melbourne, Australia
  • Software developer and mech keyboard nut
Re: Alternative Controller for HHKB
« Reply #441 on: Sun, 27 March 2016, 21:07:09 »
Hi @hasu,

Do you have plans to support HHKB JP in the Keymap Editor?

Updated firmware used in Keymap Editor to the latest version and added Keymap Editor for TMK Bluetooth controller.
Try it and give feedback.

http://www.tmk-kbd.com/tmk_keyboard/editor/hhkb/
http://www.tmk-kbd.com/tmk_keyboard/editor/hhkb_bt/


Show Image

HHKB Pro JP + Hasu controller, Realforce RF87U55G, G60 Retro, QK65

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #442 on: Sun, 27 March 2016, 21:43:33 »
Hi,
I still have a plan for JP but I'm tired of maintain various keymap editors and it is pending for now. I have an idea of universal keymap editor for any TMK firmware, instead of making a editor for each keyboard.

I mean, editor for JP won't be availabe for a while at least, sorry.

Offline feralfoo

  • Posts: 49
  • Location: Melbourne, Australia
  • Software developer and mech keyboard nut
Re: Alternative Controller for HHKB
« Reply #443 on: Sun, 27 March 2016, 22:30:12 »
I have a JP board and matching tmk controller in the mail, would be happy to help getting the keymap editor up and running for JP.

Hi,
I still have a plan for JP but I'm tired of maintain various keymap editors and it is pending for now. I have an idea of universal keymap editor for any TMK firmware, instead of making a editor for each keyboard.

I mean, editor for JP won't be availabe for a while at least, sorry.
HHKB Pro JP + Hasu controller, Realforce RF87U55G, G60 Retro, QK65

Offline zennasyndroxx

  • Posts: 646
  • It's good to be back!
Re: Alternative Controller for HHKB
« Reply #444 on: Tue, 29 March 2016, 05:30:02 »
not sure if this is only me but there's multiple inputs, or chatter when you're using BT firmware on USB.

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #445 on: Tue, 29 March 2016, 07:49:43 »
not sure if this is only me but there's multiple inputs, or chatter when you're using BT firmware on USB.

Smells like hardware failure like break wire or bad solder. You will see random or wrong input when it has break wire or half-mated connector.

Offline zennasyndroxx

  • Posts: 646
  • It's good to be back!
Re: Alternative Controller for HHKB
« Reply #446 on: Tue, 29 March 2016, 07:53:17 »
not sure if this is only me but there's multiple inputs, or chatter when you're using BT firmware on USB.

Smells like hardware failure like break wire or bad solder. You will see random or wrong input when it has break wire or half-mated connector.
The issue is fixed now though.

I've flashed the Bluetooth firmware and I'm only using it via USB, turned Bluetooth off. There's no any other input just double or triple registration.

This issue is fixed by flashing the appropriate firmware for what connection you're gonna use

Offline rdg

  • Posts: 18
  • Location: California
Re: Alternative Controller for HHKB
« Reply #447 on: Fri, 15 April 2016, 22:55:21 »
I just got a hhkb alt controller and am trying to use it with my HHKB-JP. But, after flashing the firmware I cannot get any keypress registered.
I have tried hid listen tool on OSX but no output - I'm not sure how else to debug - does anyone have any ideas? I'll add a gist below with output of compilation and dfu-programmer.
Compiled on OSX 10.11, avr gcc version 4.8.1 (GCC)

Code: [Select]
make -f Makefile.jp clean
make -f Makefile.jp dfu

full output
More
Code: [Select]
make -f Makefile.jp dfu

mkdir -p obj_hhkb_lufa
Compiling C: keymap_jp.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/keymap_jp.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_keymap_jp.o.d  keymap_jp.c -o obj_hhkb_lufa/keymap_jp.o

mkdir -p obj_hhkb_lufa
Compiling C: keymap_common.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/keymap_common.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_keymap_common.o.d  keymap_common.c -o obj_hhkb_lufa/keymap_common.o

mkdir -p obj_hhkb_lufa
Compiling C: matrix.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/matrix.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_matrix.o.d  matrix.c -o obj_hhkb_lufa/matrix.o

mkdir -p obj_hhkb_lufa
Compiling C: led.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/led.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_led.o.d  led.c -o obj_hhkb_lufa/led.o

mkdir -p obj_hhkb_lufa/protocol/lufa
Compiling C: ../../tmk_core/protocol/lufa/lufa.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/lufa.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_lufa.o.d  ../../tmk_core/protocol/lufa/lufa.c -o obj_hhkb_lufa/protocol/lufa/lufa.o

mkdir -p obj_hhkb_lufa/protocol/lufa
Compiling C: ../../tmk_core/protocol/lufa/descriptor.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/descriptor.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_descriptor.o.d  ../../tmk_core/protocol/lufa/descriptor.c -o obj_hhkb_lufa/protocol/lufa/descriptor.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Class/Common
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Class/Common/HIDParser.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Class/Common/HIDParser.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Class_Common_HIDParser.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Class/Common/HIDParser.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Class/Common/HIDParser.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_AVR8_Device_AVR8.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_AVR8_EndpointStream_AVR8.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_AVR8_Endpoint_AVR8.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_AVR8_Host_AVR8.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_AVR8_PipeStream_AVR8.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_AVR8_Pipe_AVR8.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_AVR8_USBController_AVR8.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_AVR8_USBInterrupt_AVR8.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/ConfigDescriptors.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/ConfigDescriptors.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_ConfigDescriptors.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/ConfigDescriptors.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/ConfigDescriptors.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/DeviceStandardReq.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/DeviceStandardReq.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_DeviceStandardReq.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/DeviceStandardReq.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/DeviceStandardReq.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/Events.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/Events.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_Events.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/Events.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/Events.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/HostStandardReq.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/HostStandardReq.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_HostStandardReq.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/HostStandardReq.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/HostStandardReq.o

mkdir -p obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core
Compiling C: ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/USBTask.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/USBTask.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_protocol_lufa_LUFA-git_LUFA_Drivers_USB_Core_USBTask.o.d  ../../tmk_core/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/USBTask.c -o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/USBTask.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/host.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/host.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_host.o.d  ../../tmk_core/common/host.c -o obj_hhkb_lufa/common/host.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/keyboard.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/keyboard.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_keyboard.o.d  ../../tmk_core/common/keyboard.c -o obj_hhkb_lufa/common/keyboard.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/action.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/action.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_action.o.d  ../../tmk_core/common/action.c -o obj_hhkb_lufa/common/action.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/action_tapping.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/action_tapping.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_action_tapping.o.d  ../../tmk_core/common/action_tapping.c -o obj_hhkb_lufa/common/action_tapping.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/action_macro.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/action_macro.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_action_macro.o.d  ../../tmk_core/common/action_macro.c -o obj_hhkb_lufa/common/action_macro.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/action_layer.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/action_layer.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_action_layer.o.d  ../../tmk_core/common/action_layer.c -o obj_hhkb_lufa/common/action_layer.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/action_util.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/action_util.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_action_util.o.d  ../../tmk_core/common/action_util.c -o obj_hhkb_lufa/common/action_util.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/print.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/print.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_print.o.d  ../../tmk_core/common/print.c -o obj_hhkb_lufa/common/print.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/debug.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/debug.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_debug.o.d  ../../tmk_core/common/debug.c -o obj_hhkb_lufa/common/debug.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/util.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/util.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_util.o.d  ../../tmk_core/common/util.c -o obj_hhkb_lufa/common/util.o

mkdir -p obj_hhkb_lufa/common/avr
Compiling C: ../../tmk_core/common/avr/suspend.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/avr/suspend.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_avr_suspend.o.d  ../../tmk_core/common/avr/suspend.c -o obj_hhkb_lufa/common/avr/suspend.o

mkdir -p obj_hhkb_lufa/common/avr
Assembling: ../../tmk_core/common/avr/xprintf.S
avr-gcc -c -mmcu=atmega32u4 -x assembler-with-cpp -DF_CPU=16000000 -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Wa,-adhlns=obj_hhkb_lufa/common/avr/xprintf.lst,-gstabs,--listing-cont-lines=100 -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -include config.h  ../../tmk_core/common/avr/xprintf.S -o obj_hhkb_lufa/common/avr/xprintf.o

mkdir -p obj_hhkb_lufa/common/avr
Compiling C: ../../tmk_core/common/avr/timer.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/avr/timer.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_avr_timer.o.d  ../../tmk_core/common/avr/timer.c -o obj_hhkb_lufa/common/avr/timer.o

mkdir -p obj_hhkb_lufa/common/avr
Compiling C: ../../tmk_core/common/avr/bootloader.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/avr/bootloader.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_avr_bootloader.o.d  ../../tmk_core/common/avr/bootloader.c -o obj_hhkb_lufa/common/avr/bootloader.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/keymap.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/keymap.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_keymap.o.d  ../../tmk_core/common/keymap.c -o obj_hhkb_lufa/common/keymap.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/bootmagic.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/bootmagic.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_bootmagic.o.d  ../../tmk_core/common/bootmagic.c -o obj_hhkb_lufa/common/bootmagic.o

mkdir -p obj_hhkb_lufa/common/avr
Compiling C: ../../tmk_core/common/avr/eeconfig.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/avr/eeconfig.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_avr_eeconfig.o.d  ../../tmk_core/common/avr/eeconfig.c -o obj_hhkb_lufa/common/avr/eeconfig.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/mousekey.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/mousekey.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_mousekey.o.d  ../../tmk_core/common/mousekey.c -o obj_hhkb_lufa/common/mousekey.o

mkdir -p obj_hhkb_lufa/common
Compiling C: ../../tmk_core/common/command.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_hhkb_lufa/common/command.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_hhkb_lufa_common_command.o.d  ../../tmk_core/common/command.c -o obj_hhkb_lufa/common/command.o

Linking: hhkb_lufa.elf
avr-gcc -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DBOOTLOADER_SIZE=4096 -DHHKB_JP -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8  -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=4e317c2 -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=hhkb_lufa.elf -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/hhkb_lufa.elf.d  obj_hhkb_lufa/keymap_jp.o obj_hhkb_lufa/keymap_common.o obj_hhkb_lufa/matrix.o obj_hhkb_lufa/led.o obj_hhkb_lufa/protocol/lufa/lufa.o obj_hhkb_lufa/protocol/lufa/descriptor.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Class/Common/HIDParser.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/ConfigDescriptors.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/DeviceStandardReq.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/Events.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/HostStandardReq.o obj_hhkb_lufa/protocol/lufa/LUFA-git/LUFA/Drivers/USB/Core/USBTask.o obj_hhkb_lufa/common/host.o obj_hhkb_lufa/common/keyboard.o obj_hhkb_lufa/common/action.o obj_hhkb_lufa/common/action_tapping.o obj_hhkb_lufa/common/action_macro.o obj_hhkb_lufa/common/action_layer.o obj_hhkb_lufa/common/action_util.o obj_hhkb_lufa/common/print.o obj_hhkb_lufa/common/debug.o obj_hhkb_lufa/common/util.o obj_hhkb_lufa/common/avr/suspend.o obj_hhkb_lufa/common/avr/xprintf.o obj_hhkb_lufa/common/avr/timer.o obj_hhkb_lufa/common/avr/bootloader.o obj_hhkb_lufa/common/keymap.o obj_hhkb_lufa/common/bootmagic.o obj_hhkb_lufa/common/avr/eeconfig.o obj_hhkb_lufa/common/mousekey.o obj_hhkb_lufa/common/command.o --output hhkb_lufa.elf -Wl,-Map=hhkb_lufa.map,--cref -Wl,--gc-sections     -lm

Creating load file for Flash: hhkb_lufa.hex
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature hhkb_lufa.elf hhkb_lufa.hex
dfu-programmer atmega32u4 erase --force
Erasing flash...  Success
Checking memory from 0x0 to 0x6FFF...  Empty.
dfu-programmer atmega32u4 flash hhkb_lufa.hex
Checking memory from 0x0 to 0x547F...  Empty.
0%                            100%  Programming 0x5480 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
0%                            100%  Reading 0x7000 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
Validating...  Success
0x5480 bytes written into 0x7000 bytes memory (75.45%).
dfu-programmer atmega32u4 reset
« Last Edit: Fri, 15 April 2016, 22:57:46 by rdg »

Offline hasu

  • Thread Starter
  • Posts: 3484
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Alternative Controller for HHKB
« Reply #448 on: Fri, 15 April 2016, 23:24:44 »
 
I just got a hhkb alt controller and am trying to use it with my HHKB-JP. But, after flashing the firmware I cannot get any keypress registered.
I have tried hid listen tool on OSX but no output - I'm not sure how else to debug - does anyone have any ideas? I'll add a gist below with output of compilation and dfu-programmer.
Compiled on OSX 10.11, avr gcc version 4.8.1 (GCC)

It loosks dfu-programmer flashes controller successfully, but you need sudo?
https://github.com/tmk/tmk_keyboard/wiki/FAQ-Build#cant-program-on-linux-and-mac

Also did you use sudo with hid_listen?
https://github.com/tmk/tmk_keyboard/wiki/FAQ#hid_listen-cant-recognize-device

Offline feralfoo

  • Posts: 49
  • Location: Melbourne, Australia
  • Software developer and mech keyboard nut
Re: Alternative Controller for HHKB
« Reply #449 on: Fri, 15 April 2016, 23:50:13 »
I just got a hhkb alt controller and am trying to use it with my HHKB-JP. But, after flashing the firmware I cannot get any keypress registered.
I have tried hid listen tool on OSX but no output - I'm not sure how else to debug - does anyone have any ideas? I'll add a gist below with output of compilation and dfu-programmer.
Compiled on OSX 10.11, avytr gcc version 4.8.1 (GCC)

Hi @rdg,

I get similar issues with my tmk'ed hhkb jp, and it appears to be OSX not picking up the keyboard, try unplugging/replugging/typing a few times.
For me sometimes it will work straight away and sometimes it will take 3 or more unplugs/replugs, but it always starts working eventually :D
HHKB Pro JP + Hasu controller, Realforce RF87U55G, G60 Retro, QK65