Closed algernon closed 5 years ago
"src/port/samd.cpp"
"port" seems like a weird name for that.
How about src/arch/samd.cpp
? (src/port/samd.cpp
is how it's called in the original)
sure ᐧ
On Mon, Apr 22, 2019 at 11:09 AM Gergely Nagy notifications@github.com wrote:
How about src/arch/samd.cpp? (src/port/samd.cpp is how it's called in the original)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/keyboardio/KeyboardioHID/pull/51#issuecomment-485498052, or mute the thread https://github.com/notifications/unsubscribe-auth/AAALC2D2GVVXWU3KNLRX5WDPRX5MBANCNFSM4HHIBL4A .
Done.
Also rolled in another update, making GET_PROTOCOL
and GET_IDLE
work on SAMD too.
Is the latest rev tested on AVR? ᐧ
On Mon, Apr 22, 2019 at 11:16 AM Gergely Nagy notifications@github.com wrote:
Done.
Also rolled in another update, making GET_PROTOCOL and GET_IDLE work on SAMD too.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/keyboardio/KeyboardioHID/pull/51#issuecomment-485500335, or mute the thread https://github.com/notifications/unsubscribe-auth/AAALC2HXRNSC66INYXCXAXDPRX6GVANCNFSM4HHIBL4A .
Yes, compiles and works fine too. At least normal keycodes come through, I haven't tested everything yet, but my gut feeling is that if anything broke, normal keycodes wouldn't work either.
The port is heavily based on NicoHood/HID's port, but it was tweaked in a few small ways for KeyboardioHID: I split it into smaller commits, and enabled host wakeup in SystemControl.
It compiles, and appears to work on real hardware too, but has seen only light testing on SAMD so far. The AVR functionality should be unaffected.