summaryrefslogtreecommitdiff
path: root/keyboards/handwired/eagleii
diff options
context:
space:
mode:
authorSpaceman <rionlion100@gmail.com>2020-01-19 21:07:30 -0500
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-19 18:07:30 -0800
commit80d329bb554f69630cda0376a51314698ad0ccdd (patch)
treeb54cf25e88c545a48c720677291bfb5fe0d9d262 /keyboards/handwired/eagleii
parent251a69ea3d63ac8783e30b6e03e3866b9579af72 (diff)
[Keyboard] Addition Eagle II keyboard (#7927)
* add EagleII Keyboard * Update eagleii.c * Update eagleii.h * Update keymap.c * Update eagleii.h * Update keymap.c * Update keyboards/handwired/eagleii/config.h * Update keyboards/handwired/eagleii/config.h * Update keyboards/handwired/eagleii/rules.mk * Update config.h * Update rules.mk * Update eagleii.h * Update eagleii.h * Update keymap.c * Update info.json * Update keyboards/handwired/eagleii/rules.mk * Update keyboards/handwired/eagleii/rules.mk * Create readme.md * Update keyboards/handwired/eagleii/readme.md * Update keyboards/handwired/eagleii/config.h * Update keyboards/handwired/eagleii/readme.md * Update keyboards/handwired/eagleii/readme.md
Diffstat (limited to 'keyboards/handwired/eagleii')
-rw-r--r--keyboards/handwired/eagleii/config.h19
-rw-r--r--keyboards/handwired/eagleii/eagleii.c1
-rw-r--r--keyboards/handwired/eagleii/eagleii.h24
-rw-r--r--keyboards/handwired/eagleii/info.json88
-rw-r--r--keyboards/handwired/eagleii/keymaps/default/keymap.c12
-rw-r--r--keyboards/handwired/eagleii/readme.md15
-rw-r--r--keyboards/handwired/eagleii/rules.mk26
7 files changed, 185 insertions, 0 deletions
diff --git a/keyboards/handwired/eagleii/config.h b/keyboards/handwired/eagleii/config.h
new file mode 100644
index 0000000000..c66cb18134
--- /dev/null
+++ b/keyboards/handwired/eagleii/config.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x9789
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Eagle
+#define PRODUCT II
+#define DESCRIPTION Eagle II Keyboard
+
+#define MATRIX_ROWS 12
+#define MATRIX_COLS 12
+#define MATRIX_ROW_PINS { D0, B5, F1, B2, F7, F6, D4, D7, B4, B7, F5, B0 }
+#define MATRIX_COL_PINS { D2, C6, E6, D5, B3, D3, D1, C7, F0, B6, B1, F4 }
+#define UNUSED_PINS
+#define DIODE_DIRECTION COL2ROW
+#define DEBOUNCE 5
diff --git a/keyboards/handwired/eagleii/eagleii.c b/keyboards/handwired/eagleii/eagleii.c
new file mode 100644
index 0000000000..5abd5b92f9
--- /dev/null
+++ b/keyboards/handwired/eagleii/eagleii.c
@@ -0,0 +1 @@
+#include "eagleii.h"
diff --git a/keyboards/handwired/eagleii/eagleii.h b/keyboards/handwired/eagleii/eagleii.h
new file mode 100644
index 0000000000..5f3acac798
--- /dev/null
+++ b/keyboards/handwired/eagleii/eagleii.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ K47, K27, K37, K38, K28, K39, K29, K34, K24, K31, K21, K32, K22, K33, K23, K0A, K0B, K46, K44, \
+ K17, K97, K18, K98, K19, K99, K14, K94, K11, K91, K12, K92, K13, K83, K8A, K8B, K43, K4A, \
+ KA0, K77, K88, K78, K89, K79, K84, K74, K81, K71, K82, K72, K93, K1A, K1B, K42, K6B, \
+ K50, K87, K08, K68, K09, K69, K04, K61, K01, K62, K02, K70, K6A, K41, \
+ KB5, K66, K07, K64, K76, K03 \
+) { \
+ { KC_NO, K01, K02, K03, K04, KC_NO, KC_NO, K07, K08, K09, K0A, K0B }, \
+ { KC_NO, K11, K12, K13, K14, KC_NO, KC_NO, K17, K18, K19, K1A, K1B }, \
+ { KC_NO, K21, K22, K23, K24, KC_NO, KC_NO, K27, K28, K29, KC_NO, KC_NO }, \
+ { KC_NO, K31, K32, K33, K34, KC_NO, KC_NO, K37, K38, K39, KC_NO, KC_NO }, \
+ { KC_NO, K41, K42, K43, K44, KC_NO, K46, K47, KC_NO, KC_NO, K4A, KC_NO }, \
+ { K50, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
+ { KC_NO, K61, K62, KC_NO, K64, KC_NO, K66, KC_NO, K68, K69, K6A, K6B }, \
+ { K70, K71, K72, KC_NO, K74, KC_NO, K76, K77, K78, K79, KC_NO, KC_NO }, \
+ { KC_NO, K81, K82, K83, K84, KC_NO, KC_NO, K87, K88, K89, K8A, K8B }, \
+ { KC_NO, K91, K92, K93, K94, KC_NO, KC_NO, K97, K98, K99, KC_NO, KC_NO }, \
+ { KA0, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
+ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KB5, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
+}
diff --git a/keyboards/handwired/eagleii/info.json b/keyboards/handwired/eagleii/info.json
new file mode 100644
index 0000000000..4c2edde6e7
--- /dev/null
+++ b/keyboards/handwired/eagleii/info.json
@@ -0,0 +1,88 @@
+{
+ "keyboard_name": "EagleII",
+ "url": "",
+ "maintainer": "Spaceman",
+ "width": 21.5,
+ "height": 5,
+ "layouts": {
+ "LAYOUT": {
+ "key_count": 74,
+ "layout": [
+ {"label":"K47 (F7,C7)", "x":0, "y":0, "w":1.5},
+ {"label":"K27 (F1,C7)", "x":1.5, "y":0},
+ {"label":"K37 (B2,C7)", "x":2.5, "y":0},
+ {"label":"K38 (B2,F0)", "x":3.5, "y":0},
+ {"label":"K28 (F1,F0)", "x":4.5, "y":0},
+ {"label":"K39 (B2,B6)", "x":5.5, "y":0},
+ {"label":"K29 (F1,B6)", "x":6.5, "y":0},
+ {"label":"K34 (B2,B3)", "x":7.5, "y":0},
+ {"label":"K24 (F1,B3)", "x":8.5, "y":0},
+ {"label":"K31 (B2,C6)", "x":9.5, "y":0},
+ {"label":"K21 (F1,C6)", "x":10.5, "y":0},
+ {"label":"K32 (B2,E6)", "x":11.5, "y":0},
+ {"label":"K22 (F1,E6)", "x":12.5, "y":0},
+ {"label":"K33 (B2,D5)", "x":13.5, "y":0},
+ {"label":"K23 (F1,D5)", "x":14.5, "y":0},
+ {"label":"K0A (D0,B1)", "x":16.5, "y":0},
+ {"label":"K0B (D0,F4)", "x":17.5, "y":0},
+ {"label":"K46 (F7,D1)", "x":18.5, "y":0},
+ {"label":"K44 (F7,B3)", "x":20.5, "y":0},
+ {"label":"K17 (B5,C7)", "x":0, "y":1, "w":2},
+ {"label":"K97 (B7,C7)", "x":2, "y":1},
+ {"label":"K18 (B5,F0)", "x":3, "y":1},
+ {"label":"K98 (B7,F0)", "x":4, "y":1},
+ {"label":"K19 (B5,B6)", "x":5, "y":1},
+ {"label":"K99 (B7,B6)", "x":6, "y":1},
+ {"label":"K14 (B5,B3)", "x":7, "y":1},
+ {"label":"K94 (B7,B3)", "x":8, "y":1},
+ {"label":"K11 (B5,C6)", "x":9, "y":1},
+ {"label":"K91 (B7,C6)", "x":10, "y":1},
+ {"label":"K12 (B5,E6)", "x":11, "y":1},
+ {"label":"K92 (B7,E6)", "x":12, "y":1},
+ {"label":"K13 (B5,D5)", "x":13, "y":1},
+ {"label":"K83 (B4,D5)", "x":14, "y":1, "w":1.5},
+ {"label":"K8A (B4,B1)", "x":16.5, "y":1},
+ {"label":"K8B (B4,F4)", "x":17.5, "y":1},
+ {"label":"K43 (F7,D5)", "x":18.5, "y":1},
+ {"label":"K4A (F7,B1)", "x":20.5, "y":1},
+ {"label":"KA0 (F5,D2)", "x":0.25, "y":2, "w":2},
+ {"label":"K77 (D7,C7)", "x":2.25, "y":2},
+ {"label":"K88 (B4,F0)", "x":3.25, "y":2},
+ {"label":"K78 (D7,F0)", "x":4.25, "y":2},
+ {"label":"K89 (B4,B6)", "x":5.25, "y":2},
+ {"label":"K79 (D7,B6)", "x":6.25, "y":2},
+ {"label":"K84 (B4,B3)", "x":7.25, "y":2},
+ {"label":"K74 (D7,B3)", "x":8.25, "y":2},
+ {"label":"K81 (B4,C6)", "x":9.25, "y":2},
+ {"label":"K71 (D7,C6)", "x":10.25, "y":2},
+ {"label":"K82 (B4,E6)", "x":11.25, "y":2},
+ {"label":"K72 (D7,E6)", "x":12.25, "y":2},
+ {"label":"K93 (B7,D5)", "x":13.25, "y":2, "w":2},
+ {"label":"K1A (B5,B1)", "x":16.5, "y":2},
+ {"label":"K1B (B5,F4)", "x":17.5, "y":2},
+ {"label":"K42 (F7,E6)", "x":18.5, "y":2},
+ {"label":"K6B (D4,F4)", "x":20.5, "y":2, "h":2},
+ {"label":"K50 (F6,D2)", "x":0.75, "y":3, "w":2},
+ {"label":"K87 (B4,C7)", "x":2.75, "y":3},
+ {"label":"K08 (D0,F0)", "x":3.75, "y":3},
+ {"label":"K68 (D4,F0)", "x":4.75, "y":3},
+ {"label":"K09 (D0,B6)", "x":5.75, "y":3},
+ {"label":"K69 (D4,B6)", "x":6.75, "y":3},
+ {"label":"K04 (D0,B3)", "x":7.75, "y":3},
+ {"label":"K61 (D4,C6)", "x":8.75, "y":3},
+ {"label":"K01 (D0,C6)", "x":9.75, "y":3},
+ {"label":"K62 (D4,E6)", "x":10.75, "y":3},
+ {"label":"K02 (D0,E6)", "x":11.75, "y":3},
+ {"label":"K70 (D7,D2)", "x":12.75, "y":3, "w":2},
+ {"label":"K6A (D4,B1)", "x":16.5, "y":3, "w":2},
+ {"label":"K41 (F7,C6)", "x":18.5, "y":3},
+ {"label":"KB5 (B0,D3)", "x":0.75, "y":4},
+ {"label":"K66 (D4,D1)", "x":1.75, "y":4},
+ {"label":"K07 (D0,C7)", "x":2.75, "y":4},
+ {"label":"K64 (D4,B3)", "x":3.75, "y":4, "w":8},
+ {"label":"K76 (D7,D1)", "x":11.75, "y":4},
+ {"label":"K03 (D0,D5)", "x":12.75, "y":4, "w":2}
+ ]
+ }
+ }
+}
diff --git a/keyboards/handwired/eagleii/keymaps/default/keymap.c b/keyboards/handwired/eagleii/keymaps/default/keymap.c
new file mode 100644
index 0000000000..dc26b8049a
--- /dev/null
+++ b/keyboards/handwired/eagleii/keymaps/default/keymap.c
@@ -0,0 +1,12 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_LABK, KC_BSLS, KC_7, KC_8, KC_9, KC_F1,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_INS, KC_DEL, KC_SPC, KC_4, KC_5, KC_6, KC_F2,
+ KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_1, KC_2, KC_3, KC_ENT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_0, KC_DOT,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_MENU, KC_RABK
+ ),
+
+};
diff --git a/keyboards/handwired/eagleii/readme.md b/keyboards/handwired/eagleii/readme.md
new file mode 100644
index 0000000000..d23e270283
--- /dev/null
+++ b/keyboards/handwired/eagleii/readme.md
@@ -0,0 +1,15 @@
+# Eagle II Keyboard
+
+![Eagle II](https://upload.wikimedia.org/wikipedia/en/a/ae/Eagleiicomp.jpg)
+
+A handwired conversion of an Eagle II computer.
+
+* Keyboard Maintainer: [Spaceman](https://github.com/rionlion100)
+* Hardware Supported: Eagle II Keyboard
+* Hardware Availability: Not available
+
+Make example for this keyboard (after setting up your build environment):
+
+ make handwired/eagleii:default
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/handwired/eagleii/rules.mk b/keyboards/handwired/eagleii/rules.mk
new file mode 100644
index 0000000000..e45af67e51
--- /dev/null
+++ b/keyboards/handwired/eagleii/rules.mk
@@ -0,0 +1,26 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = yes
+MOUSEKEY_ENABLE = yes
+EXTRAKEY_ENABLE = yes
+CONSOLE_ENABLE = no
+COMMAND_ENABLE = no
+SLEEP_LED_ENABLE = no
+NKRO_ENABLE = no
+BACKLIGHT_ENABLE = no
+AUDIO_ENABLE = no
+RGBLIGHT_ENABLE = no