diff options
author | Danny <nooges@users.noreply.github.com> | 2019-06-04 02:26:34 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-06-03 23:26:34 -0700 |
commit | 0dc0be7302757c9f9162958007f926b21c4428ef (patch) | |
tree | 81f2c49bed02d139a1771dabd14f2a3a7571cabc /keyboards/keebio/levinson/rev3/rev3.h | |
parent | 91849853ba231f663731010ad073cdc85d23ae9b (diff) | |
download | firmware-0dc0be7302757c9f9162958007f926b21c4428ef.tar.gz firmware-0dc0be7302757c9f9162958007f926b21c4428ef.tar.bz2 firmware-0dc0be7302757c9f9162958007f926b21c4428ef.zip |
[Keyboard] Add Levinson Rev 3 (#6064)
* Add Levinson Rev 3
* Update keyboards/keebio/levinson/rev3/config.h
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/keebio/levinson/rev3/config.h
Co-Authored-By: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/keebio/levinson/rev3/rev3.h')
-rw-r--r-- | keyboards/keebio/levinson/rev3/rev3.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/keyboards/keebio/levinson/rev3/rev3.h b/keyboards/keebio/levinson/rev3/rev3.h new file mode 100644 index 000000000..a31bfd15c --- /dev/null +++ b/keyboards/keebio/levinson/rev3/rev3.h @@ -0,0 +1,34 @@ +#pragma once + +#include "levinson.h" + +//void promicro_bootloader_jmp(bool program); +#include "quantum.h" + + +#ifdef USE_I2C +#include <stddef.h> +#ifdef __AVR__ + #include <avr/io.h> + #include <avr/interrupt.h> +#endif +#endif + +#define LAYOUT( \ + L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ + L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ + L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ + L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ + ) \ + { \ + { L00, L01, L02, L03, L04, L05 }, \ + { L10, L11, L12, L13, L14, L15 }, \ + { L20, L21, L22, L23, L24, L25 }, \ + { L30, L31, L32, L33, L34, L35 }, \ + { R05, R04, R03, R02, R01, R00 }, \ + { R15, R14, R13, R12, R11, R10 }, \ + { R25, R24, R23, R22, R21, R20 }, \ + { R35, R34, R33, R32, R31, R30 } \ + } + +#define LAYOUT_ortho_4x12 LAYOUT |