|
|
@ -30,7 +30,7 @@ namespace device {
|
|
|
|
namespace keyboardio {
|
|
|
|
namespace keyboardio {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct AtreusProps : kaleidoscope::device::ATmega32U4KeyboardProps {
|
|
|
|
struct AtreusProps : kaleidoscope::device::ATmega32U4KeyboardProps {
|
|
|
|
struct KeyScannerProps : public kaleidoscope::driver::keyscanner::ATmegaProps {
|
|
|
|
struct KeyScannerProps : public kaleidoscope::driver::keyscanner::ATmegaProps {
|
|
|
|
|
|
|
|
|
|
|
|
static constexpr uint8_t matrix_rows = 4;
|
|
|
|
static constexpr uint8_t matrix_rows = 4;
|
|
|
@ -45,17 +45,17 @@ namespace keyboardio {
|
|
|
|
typedef kaleidoscope::driver::keyscanner::ATmega<KeyScannerProps> KeyScanner;
|
|
|
|
typedef kaleidoscope::driver::keyscanner::ATmega<KeyScannerProps> KeyScanner;
|
|
|
|
typedef kaleidoscope::driver::bootloader::avr::Caterina BootLoader;
|
|
|
|
typedef kaleidoscope::driver::bootloader::avr::Caterina BootLoader;
|
|
|
|
static constexpr const char *short_name = "atreus";
|
|
|
|
static constexpr const char *short_name = "atreus";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
|
|
|
|
#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
|
|
|
|
class Atreus: public kaleidoscope::device::ATmega32U4Keyboard<AtreusProps> {};
|
|
|
|
class Atreus: public kaleidoscope::device::ATmega32U4Keyboard<AtreusProps> {};
|
|
|
|
#else // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
|
|
|
|
#else // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
|
|
|
|
/* Device definition omitted for virtual device builds.
|
|
|
|
/* Device definition omitted for virtual device builds.
|
|
|
|
* We need to forward declare the device name, though, as there are
|
|
|
|
* We need to forward declare the device name, though, as there are
|
|
|
|
* some legacy extern references to boards whose definition
|
|
|
|
* some legacy extern references to boards whose definition
|
|
|
|
* depends on this.
|
|
|
|
* depends on this.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class Atreus;
|
|
|
|
class Atreus;
|
|
|
|
|
|
|
|
|
|
|
|
#endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
|
|
|
|
#endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD
|
|
|
|
|
|
|
|
|
|
|
|