aboutsummaryrefslogtreecommitdiff
path: root/keyboards/e88
diff options
context:
space:
mode:
authoreli <43716450+2-n@users.noreply.github.com>2020-08-25 05:29:11 -0400
committerGitHub <noreply@github.com>2020-08-25 02:29:11 -0700
commit1f09fcaa69a42cef6aeb5d18e8b37ce1842980a3 (patch)
treee4a249ea88ab167b1546d6e2df568d0e5fba3bd2 /keyboards/e88
parentb338a4d8867f69bd6a92ec92e306715a4ae41740 (diff)
downloadqmk_firmware-1f09fcaa69a42cef6aeb5d18e8b37ce1842980a3.tar.gz
qmk_firmware-1f09fcaa69a42cef6aeb5d18e8b37ce1842980a3.zip
[Keyboard] Pink Labs e88 (#9865)
* Add files via upload * Update readme.md * Update readme.md * Delete info.json * Delete rules.mk * Delete readme.md * Delete f13.h * Delete f13.c * Delete config.h * Delete keymap.c * Delete readme.md * Add files via upload * Update keymap.c * Update config.h * Update config.h * Update rules.mk * Update keyboards/e88/config.h * Update keyboards/e88/readme.md * Update keyboards/e88/keymaps/default/keymap.c * Update keyboards/e88/rules.mk * Update keyboards/e88/rules.mk * Update keyboards/e88/config.h * Update keyboards/e88/rules.mk * Update keyboards/e88/rules.mk * Create info.json * Update config.h * Update keyboards/e88/info.json * Update keyboards/e88/readme.md * Update keyboards/e88/config.h * Update keyboards/e88/info.json
Diffstat (limited to 'keyboards/e88')
-rw-r--r--keyboards/e88/config.h108
-rw-r--r--keyboards/e88/e88.c16
-rw-r--r--keyboards/e88/e88.h45
-rw-r--r--keyboards/e88/info.json109
-rw-r--r--keyboards/e88/keymaps/default/keymap.c40
-rw-r--r--keyboards/e88/keymaps/default/readme.md1
-rw-r--r--keyboards/e88/readme.md19
-rw-r--r--keyboards/e88/rules.mk22
8 files changed, 360 insertions, 0 deletions
diff --git a/keyboards/e88/config.h b/keyboards/e88/config.h
new file mode 100644
index 000000000..5af8662fc
--- /dev/null
+++ b/keyboards/e88/config.h
@@ -0,0 +1,108 @@
1/* Copyright 2019 Maarten Dekkers <maartenwut@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x4705
23#define PRODUCT_ID 0x0187
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Pink Labs
26#define PRODUCT e88
27
28/* key matrix size */
29#define MATRIX_ROWS 6
30#define MATRIX_COLS 17
31
32/*
33 * Keyboard Matrix Assignments
34 *
35 * Change this to how you wired your keyboard
36 * COLS: AVR pins used for columns, left to right
37 * ROWS: AVR pins used for rows, top to bottom
38 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
39 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
40 *
41*/
42#define MATRIX_ROW_PINS { B7, D7, B4, C6, B5, B6 }
43#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D0, D1, D2, D3, B3, B2, B1, E6, D5, D6, D4 }
44
45#define UNUSED_PINS {B0}
46
47/* COL2ROW, ROW2COL*/
48#define DIODE_DIRECTION COL2ROW
49
50/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
51#define DEBOUNCE 5
52
53/* define if matrix has ghost (lacks anti-ghosting diodes) */
54//#define MATRIX_HAS_GHOST
55
56/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
57#define LOCKING_SUPPORT_ENABLE
58/* Locking resynchronize hack */
59#define LOCKING_RESYNC_ENABLE
60
61/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
62 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
63 */
64//#define GRAVE_ESC_CTRL_OVERRIDE
65
66/*
67 * Force NKRO
68 *
69 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
70 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
71 * makefile for this to work.)
72 *
73 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
74 * until the next keyboard reset.
75 *
76 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
77 * fully operational during normal computer usage.
78 *
79 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
80 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
81 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
82 * power-up.
83 *
84 */
85//#define FORCE_NKRO
86
87/*
88 * Feature disable options
89 * These options are also useful to firmware size reduction.
90 */
91
92/* disable debug print */
93//#define NO_DEBUG
94
95/* disable print */
96//#define NO_PRINT
97
98/* disable action features */
99//#define NO_ACTION_LAYER
100//#define NO_ACTION_TAPPING
101//#define NO_ACTION_ONESHOT
102
103/* disable these deprecated features by default */
104#define NO_ACTION_MACRO
105#define NO_ACTION_FUNCTION
106
107#define QMK_ESC_OUTPUT F0 // usually COL
108#define QMK_ESC_INPUT B7 // usually ROW
diff --git a/keyboards/e88/e88.c b/keyboards/e88/e88.c
new file mode 100644
index 000000000..044aa665a
--- /dev/null
+++ b/keyboards/e88/e88.c
@@ -0,0 +1,16 @@
1/* Copyright 2019 Maarten Dekkers <maartenwut@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "e88.h"
diff --git a/keyboards/e88/e88.h b/keyboards/e88/e88.h
new file mode 100644
index 000000000..ebbcaae68
--- /dev/null
+++ b/keyboards/e88/e88.h
@@ -0,0 +1,45 @@
1/* Copyright 2019 Maarten Dekkers <maartenwut@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19#define XXX KC_NO
20
21/* This a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29
30#define LAYOUT_all( \
31 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, \
32 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, \
33 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, \
34 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
35 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4f, \
36 k50, k51, k52, k56, k5a, k5b, k5c, k5d, k5e, k5f, k5g \
37) \
38{ \
39 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g }, \
40 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g }, \
41 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g }, \
42 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, XXX, XXX, XXX }, \
43 { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, XXX, k4f, XXX }, \
44 { k50, k51, k52, XXX, XXX, XXX, k56, XXX, XXX, XXX, k5a, k5b, k5c, k5d, k5e, k5f, k5g } \
45}
diff --git a/keyboards/e88/info.json b/keyboards/e88/info.json
new file mode 100644
index 000000000..eb9c8365d
--- /dev/null
+++ b/keyboards/e88/info.json
@@ -0,0 +1,109 @@
1{
2 "keyboard_name": "e88",
3 "url": "",
4 "maintainer": "2-n",
5 "width": 18.25,
6 "height": 6.25,
7 "layouts": {
8 "LAYOUT_all": {
9 "layout": [
10 {"x": 0, "y": 0},
11 {"x": 1.25, "y": 0},
12 {"x": 2.25, "y": 0},
13 {"x": 3.25, "y": 0},
14 {"x": 4.25, "y": 0},
15 {"x": 5.5, "y": 0},
16 {"x": 6.5, "y": 0},
17 {"x": 7.5, "y": 0},
18 {"x": 8.5, "y": 0},
19 {"x": 9.75, "y": 0},
20 {"x": 10.75, "y": 0},
21 {"x": 11.75, "y": 0},
22 {"x": 12.75, "y": 0},
23 {"x": 14, "y": 0},
24 {"x": 15.25, "y": 0},
25 {"x": 16.25, "y": 0},
26 {"x": 17.25, "y": 0},
27
28 {"x": 0, "y": 1.25},
29 {"x": 1, "y": 1.25},
30 {"x": 2, "y": 1.25},
31 {"x": 3, "y": 1.25},
32 {"x": 4, "y": 1.25},
33 {"x": 5, "y": 1.25},
34 {"x": 6, "y": 1.25},
35 {"x": 7, "y": 1.25},
36 {"x": 8, "y": 1.25},
37 {"x": 9, "y": 1.25},
38 {"x": 10, "y": 1.25},
39 {"x": 11, "y": 1.25},
40 {"x": 12, "y": 1.25},
41 {"x": 13, "y": 1.25, "w": 2},
42 {"x": 15.25, "y": 1.25},
43 {"x": 16.25, "y": 1.25},
44 {"x": 17.25, "y": 1.25},
45
46 {"x": 0, "y": 2.25, "w": 1.5},
47 {"x": 1.5, "y": 2.25},
48 {"x": 2.5, "y": 2.25},
49 {"x": 3.5, "y": 2.25},
50 {"x": 4.5, "y": 2.25},
51 {"x": 5.5, "y": 2.25},
52 {"x": 6.5, "y": 2.25},
53 {"x": 7.5, "y": 2.25},
54 {"x": 8.5, "y": 2.25},
55 {"x": 9.5, "y": 2.25},
56 {"x": 10.5, "y": 2.25},
57 {"x": 11.5, "y": 2.25},
58 {"x": 12.5, "y": 2.25},
59 {"x": 13.5, "y": 2.25, "w": 1.5},
60 {"x": 15.25, "y": 2.25},
61 {"x": 16.25, "y": 2.25},
62 {"x": 17.25, "y": 2.25},
63
64 {"x": 0, "y": 3.25, "w": 1.75},
65 {"x": 1.75, "y": 3.25},
66 {"x": 2.75, "y": 3.25},
67 {"x": 3.75, "y": 3.25},
68 {"x": 4.75, "y": 3.25},
69 {"x": 5.75, "y": 3.25},
70 {"x": 6.75, "y": 3.25},
71 {"x": 7.75, "y": 3.25},
72 {"x": 8.75, "y": 3.25},
73 {"x": 9.75, "y": 3.25},
74 {"x": 10.75, "y": 3.25},
75 {"x": 11.75, "y": 3.25},
76 {"x": 12.75, "y": 3.25},
77 {"x": 13.75, "y": 3.25, "w": 1.25},
78
79 {"x": 0, "y": 4.25, "w": 1.25},
80 {"x": 1.25, "y": 4.25},
81 {"x": 2.25, "y": 4.25},
82 {"x": 3.25, "y": 4.25},
83 {"x": 4.25, "y": 4.25},
84 {"x": 5.25, "y": 4.25},
85 {"x": 6.25, "y": 4.25},
86 {"x": 7.25, "y": 4.25},
87 {"x": 8.25, "y": 4.25},
88 {"x": 9.25, "y": 4.25},
89 {"x": 10.25, "y": 4.25},
90 {"x": 11.25, "y": 4.25},
91 {"x": 12.25, "y": 4.25, "w": 1.75},
92 {"x": 14, "y": 4.25},
93 {"x": 16.25, "y": 4.25},
94
95 {"x": 0, "y": 5.25, "w": 1.25},
96 {"x": 1.25, "y": 5.25, "w": 1.25},
97 {"x": 2.5, "y": 5.25, "w": 1.25},
98 {"x": 3.75, "y": 5.25, "w": 6.25},
99 {"x": 10, "y": 5.25, "w": 1.25},
100 {"x": 11.25, "y": 5.25, "w": 1.25},
101 {"x": 12.5, "y": 5.25, "w": 1.25},
102 {"x": 13.75, "y": 5.25, "w": 1.25},
103 {"x": 15.25, "y": 5.25},
104 {"x": 16.25, "y": 5.25},
105 {"x": 17.25, "y": 5.25}
106 ]
107 }
108 }
109}
diff --git a/keyboards/e88/keymaps/default/keymap.c b/keyboards/e88/keymaps/default/keymap.c
new file mode 100644
index 000000000..9c877e124
--- /dev/null
+++ b/keyboards/e88/keymaps/default/keymap.c
@@ -0,0 +1,40 @@
1/* Copyright 2019 Maarten Dekkers <maartenwut@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18// Defines names for use in layer keycodes and the keymap
19enum layer_names {
20 _MA, //Main layer
21 _FN //Function layer
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25[_MA] = LAYOUT_all(
26 KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_LGUI, KC_PSCR, KC_SLCK, KC_PAUS,
27 KC_GRV, 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_BSPC, KC_INS, KC_HOME, KC_PGUP,
28 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN,
29 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_BSLS, KC_ENT,
30 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FN), KC_UP,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RALT, RESET, KC_RCTRL, KC_LEFT, KC_DOWN, KC_RGHT),
32[_FN] = LAYOUT_all(
33 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
34 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_MUTE, KC_VOLU,
35 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
39
40};
diff --git a/keyboards/e88/keymaps/default/readme.md b/keyboards/e88/keymaps/default/readme.md
new file mode 100644
index 000000000..4918034ca
--- /dev/null
+++ b/keyboards/e88/keymaps/default/readme.md
@@ -0,0 +1 @@
Default e88 firmware. \ No newline at end of file
diff --git a/keyboards/e88/readme.md b/keyboards/e88/readme.md
new file mode 100644
index 000000000..2aaafcceb
--- /dev/null
+++ b/keyboards/e88/readme.md
@@ -0,0 +1,19 @@
1# e88
2
3![pink labs logo](https://cdn.shopify.com/s/files/1/0302/4198/0548/files/logo_x60.png?v=1579122787)
4
5A tenkeyless PCB featuring the DK Saver layout, as designed for the Bliss keyboard by Pink Labs.
6
7* Maintainer: [elli](https://github.com/2-n)
8* Hardware Supported: e88 f13 PCB (proto and final rev)
9* Hardware Availability: [labs.pink](http://www.labs.pink/)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make e88:default
14
15Flashing example for this keyboard:
16
17 make e88:default:flash
18
19See 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/e88/rules.mk b/keyboards/e88/rules.mk
new file mode 100644
index 000000000..dc1dcdb85
--- /dev/null
+++ b/keyboards/e88/rules.mk
@@ -0,0 +1,22 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = qmk-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = yes # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output