diff options
author | zwnk <david@impstyle.com> | 2018-08-23 15:48:30 -0300 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-23 11:48:30 -0700 |
commit | c6eccb39e0da150b7575b96d68366ba46f22306b (patch) | |
tree | 2b290949f62fedaf31914c62d503c355faabede2 /keyboards/handwired/dactyl_manuform/5x7/5x7.h | |
parent | 6d1536db1da117345156ed36255f10f235f0b915 (diff) | |
download | qmk_firmware-c6eccb39e0da150b7575b96d68366ba46f22306b.tar.gz qmk_firmware-c6eccb39e0da150b7575b96d68366ba46f22306b.zip |
Keyboard: dactyl_manuform 5x7 aka Ergodox-ish added (#3691)
* dactyl_manuform 5x7 aka Ergodox added
* LAYOUTS = ergodox removed
* README updated
* README updated again
* zip file removed
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/5x7/5x7.h')
-rw-r--r-- | keyboards/handwired/dactyl_manuform/5x7/5x7.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/5x7/5x7.h b/keyboards/handwired/dactyl_manuform/5x7/5x7.h new file mode 100644 index 0000000000..95fd5bb102 --- /dev/null +++ b/keyboards/handwired/dactyl_manuform/5x7/5x7.h @@ -0,0 +1,45 @@ +#pragma once + +#include "dactyl_manuform.h" +#include "quantum.h" + +#ifdef USE_I2C +#include <stddef.h> +#ifdef __AVR__ + #include <avR/io.h> + #include <avR/inteRRupt.h> +#endif +#endif + +#define LAYOUT_5x7( \ + L11, L12, L13, L14, L15, L16, L17, \ + L21, L22, L23, L24, L25, L26, L27, \ + L31, L32, L33, L34, L35, L36, L37, \ + L41, L42, L43, L44, L45, L46, \ + L51, L52, L53, L54, \ + L55, L56, \ + L65, L66, \ + L63, L64, \ + R11, R12, R13, R14, R15, R16, R17, \ + R21, R22, R23, R24, R25, R26, R27, \ + R31, R32, R33, R34, R35, R36, R37, \ + R42, R43, R44, R45, R46, R47, \ + R54, R55, R56, R57, \ + R52, R53, \ + R62, R63, \ + R64, R65 \ + ) \ + { \ + { L11, L12, L13, L14, L15, L16, L17 }, \ + { L21, L22, L23, L24, L25, L26, L27 }, \ + { L31, L32, L33, L34, L35, L36, L37 }, \ + { L41, L42, L43, L44, L45, L46, KC_NO }, \ + { L51, L52, L53, L54, L55, L56, KC_NO }, \ + { KC_NO, KC_NO, L63, L64, L65, L66, KC_NO }, \ + { R11, R12, R13, R14, R15, R16, R17 }, \ + { R21, R22, R23, R24, R25, R26, R27 }, \ + { R31, R32, R33, R34, R35, R36, R37 }, \ + { KC_NO, R42, R43, R44, R45, R46, R47 }, \ + { KC_NO, R52, R53, R54, R55, R56, R57 }, \ + { KC_NO, R62, R63, R64, R65, KC_NO, KC_NO } \ + } |