diff options
author | Danny <nooges@users.noreply.github.com> | 2018-07-31 12:08:44 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-07-31 09:08:44 -0700 |
commit | 1c88e4663d1d4342d151b804ec3155aa40c06855 (patch) | |
tree | 526ed71173849c2dfb63cfdf4b27b9e65afb7d7d /keyboards/rorschach/rev1/rev1.h | |
parent | 76f3a10eecbc1c04237b3852a0f3384e681a3492 (diff) | |
download | qmk_firmware-1c88e4663d1d4342d151b804ec3155aa40c06855.tar.gz qmk_firmware-1c88e4663d1d4342d151b804ec3155aa40c06855.zip |
Add Rorschach keyboard (#3532)
* Add Rorschach keyboard
* Add info.json
* Replace header guards with pragma once
Diffstat (limited to 'keyboards/rorschach/rev1/rev1.h')
-rw-r--r-- | keyboards/rorschach/rev1/rev1.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/rorschach/rev1/rev1.h b/keyboards/rorschach/rev1/rev1.h new file mode 100644 index 0000000000..583f0efc44 --- /dev/null +++ b/keyboards/rorschach/rev1/rev1.h @@ -0,0 +1,37 @@ +#pragma once + +#include "rorschach.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 + +//void promicro_bootloader_jmp(bool program); + +#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, \ + LT1, LT2, RT2, RT1 \ + ) \ + { \ + { L00, L01, L02, L03, L04, L05 }, \ + { L10, L11, L12, L13, L14, L15 }, \ + { L20, L21, L22, L23, L24, L25 }, \ + { L30, L31, L32, L33, L34, L35 }, \ + { KC_NO, KC_NO, KC_NO, KC_NO, LT1, LT2 }, \ + { R05, R04, R03, R02, R01, R00 }, \ + { R15, R14, R13, R12, R11, R10 }, \ + { R25, R24, R23, R22, R21, R20 }, \ + { R35, R34, R33, R32, R31, R30 }, \ + { KC_NO, KC_NO, KC_NO, KC_NO, RT1, RT2 } \ + } |