diff options
| author | Josh Hinnebusch <joshhinnebusch@gmail.com> | 2020-06-04 19:56:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-04 16:56:04 -0700 |
| commit | 6cfc3cd940370d80fd44554eb9f669950495e1f9 (patch) | |
| tree | ca6e679f8b3ad067404786dfad612ae6effb6e08 /keyboards/hineybush | |
| parent | e84e9a2004cbec490f94d74353864f19dfad89c4 (diff) | |
| download | qmk_firmware-6cfc3cd940370d80fd44554eb9f669950495e1f9.tar.gz qmk_firmware-6cfc3cd940370d80fd44554eb9f669950495e1f9.zip | |
[Keyboard] add hineybush/h10 pcb (#9036)
* initial h10 commit
* update h10
* update files, add via keymap
* edit h10 readme
* update per PR requests
* add copyright (i think this is what fauxpark wants)
* fix comment
* remove config.h files
* update per PR requests
* Update keyboards/hineybush/h10/info.json
* Update keyboards/hineybush/h10/info.json
Diffstat (limited to 'keyboards/hineybush')
| -rw-r--r-- | keyboards/hineybush/h10/config.h | 126 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/h10.c | 29 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/h10.h | 146 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/info.json | 12 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/keymaps/default/keymap.c | 40 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/keymaps/via/keymap.c | 56 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/keymaps/via/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/hineybush/h10/rules.mk | 26 |
11 files changed, 454 insertions, 0 deletions
diff --git a/keyboards/hineybush/h10/config.h b/keyboards/hineybush/h10/config.h new file mode 100644 index 000000000..7d57ec2bc --- /dev/null +++ b/keyboards/hineybush/h10/config.h | |||
| @@ -0,0 +1,126 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 hineybush | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0x04D8 | ||
| 24 | #define PRODUCT_ID 0xEBD8 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER hineybush | ||
| 27 | #define PRODUCT h10 | ||
| 28 | #define DESCRIPTION Custom numpad PCB | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 6 | ||
| 32 | #define MATRIX_COLS 4 | ||
| 33 | |||
| 34 | /* | ||
| 35 | * Keyboard Matrix Assignments | ||
| 36 | * | ||
| 37 | * Change this to how you wired your keyboard | ||
| 38 | * COLS: AVR pins used for columns, left to right | ||
| 39 | * ROWS: AVR pins used for rows, top to bottom | ||
| 40 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 41 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 42 | * | ||
| 43 | */ | ||
| 44 | #define MATRIX_ROW_PINS { B0, C6, B6, B5, B4, D7 } | ||
| 45 | #define MATRIX_COL_PINS { F0, C7, B1, B2 } | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL*/ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | #define BACKLIGHT_PIN B7 | ||
| 52 | #define BACKLIGHT_BREATHING | ||
| 53 | #define BACKLIGHT_LEVELS 3 | ||
| 54 | |||
| 55 | // #define RGB_DI_PIN E2 | ||
| 56 | // #ifdef RGB_DI_PIN | ||
| 57 | // #define RGBLED_NUM 16 | ||
| 58 | // #define RGBLIGHT_HUE_STEP 8 | ||
| 59 | // #define RGBLIGHT_SAT_STEP 8 | ||
| 60 | // #define RGBLIGHT_VAL_STEP 8 | ||
| 61 | // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 62 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 63 | // /*== all animations enable ==*/ | ||
| 64 | // #define RGBLIGHT_ANIMATIONS | ||
| 65 | // /*== or choose animations ==*/ | ||
| 66 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 67 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 68 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 69 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 70 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 71 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 72 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 73 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 74 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 75 | // /*== customize breathing effect ==*/ | ||
| 76 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 77 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 78 | // /*==== use exp() and sin() ====*/ | ||
| 79 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 80 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 81 | // #endif | ||
| 82 | |||
| 83 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 84 | #define DEBOUNCE 5 | ||
| 85 | |||
| 86 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 87 | //#define MATRIX_HAS_GHOST | ||
| 88 | |||
| 89 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 90 | #define LOCKING_SUPPORT_ENABLE | ||
| 91 | /* Locking resynchronize hack */ | ||
| 92 | #define LOCKING_RESYNC_ENABLE | ||
| 93 | |||
| 94 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 95 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 96 | */ | ||
| 97 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 98 | |||
| 99 | /* | ||
| 100 | * Force NKRO | ||
| 101 | * | ||
| 102 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 103 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 104 | * makefile for this to work.) | ||
| 105 | * | ||
| 106 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 107 | * until the next keyboard reset. | ||
| 108 | * | ||
| 109 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 110 | * fully operational during normal computer usage. | ||
| 111 | * | ||
| 112 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 113 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 114 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 115 | * power-up. | ||
| 116 | * | ||
| 117 | */ | ||
| 118 | //#define FORCE_NKRO | ||
| 119 | |||
| 120 | /* disable these deprecated features by default */ | ||
| 121 | #define NO_ACTION_MACRO | ||
| 122 | #define NO_ACTION_FUNCTION | ||
| 123 | |||
| 124 | /* Bootmagic Lite key configuration */ | ||
| 125 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 126 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/hineybush/h10/h10.c b/keyboards/hineybush/h10/h10.c new file mode 100644 index 000000000..fbaca7f38 --- /dev/null +++ b/keyboards/hineybush/h10/h10.c | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /* Copyright 2020 hineybush | ||
| 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 | #include "h10.h" | ||
| 18 | |||
| 19 | // Optional override functions below. | ||
| 20 | // You can leave any or all of these undefined. | ||
| 21 | // These are only required if you want to perform custom actions. | ||
| 22 | |||
| 23 | /* | ||
| 24 | bool led_update_kb(led_t led_state) { | ||
| 25 | // placeholder for LED indicator added to next revision | ||
| 26 | |||
| 27 | return led_update_user(led_state); | ||
| 28 | } | ||
| 29 | */ | ||
diff --git a/keyboards/hineybush/h10/h10.h b/keyboards/hineybush/h10/h10.h new file mode 100644 index 000000000..33010cb36 --- /dev/null +++ b/keyboards/hineybush/h10/h10.h | |||
| @@ -0,0 +1,146 @@ | |||
| 1 | /* Copyright 2020 hineybush | ||
| 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 "quantum.h" | ||
| 20 | |||
| 21 | /* This is 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 | #define LAYOUT_ortho_6x4( \ | ||
| 30 | k00, k01, k02, k03, \ | ||
| 31 | k10, k11, k12, k13, \ | ||
| 32 | k20, k21, k22, k23, \ | ||
| 33 | k30, k31, k32, k33, \ | ||
| 34 | k40, k41, k42, k43, \ | ||
| 35 | k50, k51, k52, k53 \ | ||
| 36 | ) \ | ||
| 37 | { \ | ||
| 38 | {k00, k01, k02, k03}, \ | ||
| 39 | {k10, k11, k12, k13}, \ | ||
| 40 | {k20, k21, k22, k23}, \ | ||
| 41 | {k30, k31, k32, k33}, \ | ||
| 42 | {k40, k41, k42, k43}, \ | ||
| 43 | {k50, k51, k52, k53} \ | ||
| 44 | } | ||
| 45 | |||
| 46 | #define LAYOUT_numpad_6x4( \ | ||
| 47 | k00, k01, k02, k03, \ | ||
| 48 | k10, k11, k12, k13, \ | ||
| 49 | k20, k21, k22, \ | ||
| 50 | k30, k31, k32, k33, \ | ||
| 51 | k40, k41, k42, \ | ||
| 52 | k51, k52, k53 \ | ||
| 53 | ) \ | ||
| 54 | { \ | ||
| 55 | {k00, k01, k02, k03}, \ | ||
| 56 | {k10, k11, k12, k13}, \ | ||
| 57 | {k20, k21, k22, KC_NO}, \ | ||
| 58 | {k30, k31, k32, k33}, \ | ||
| 59 | {k40, k41, k42, KC_NO}, \ | ||
| 60 | {KC_NO, k51, k52, k53} \ | ||
| 61 | } | ||
| 62 | |||
| 63 | #define LAYOUT_split_plus( \ | ||
| 64 | k00, k01, k02, k03, \ | ||
| 65 | k10, k11, k12, k13, \ | ||
| 66 | k20, k21, k22, k23, \ | ||
| 67 | k30, k31, k32, k33, \ | ||
| 68 | k40, k41, k42, \ | ||
| 69 | k51, k52, k53 \ | ||
| 70 | ) \ | ||
| 71 | { \ | ||
| 72 | {k00, k01, k02, k03}, \ | ||
| 73 | {k10, k11, k12, k13}, \ | ||
| 74 | {k20, k21, k22, k23}, \ | ||
| 75 | {k30, k31, k32, k33}, \ | ||
| 76 | {k40, k41, k42, KC_NO}, \ | ||
| 77 | {KC_NO, k51, k52, k53} \ | ||
| 78 | } | ||
| 79 | |||
| 80 | #define LAYOUT_split_zero( \ | ||
| 81 | k00, k01, k02, k03, \ | ||
| 82 | k10, k11, k12, k13, \ | ||
| 83 | k20, k21, k22, \ | ||
| 84 | k30, k31, k32, k33, \ | ||
| 85 | k40, k41, k42, \ | ||
| 86 | k50, k51, k52, k53 \ | ||
| 87 | ) \ | ||
| 88 | { \ | ||
| 89 | {k00, k01, k02, k03}, \ | ||
| 90 | {k10, k11, k12, k13}, \ | ||
| 91 | {k20, k21, k22, KC_NO}, \ | ||
| 92 | {k30, k31, k32, k33}, \ | ||
| 93 | {k40, k41, k42, KC_NO}, \ | ||
| 94 | {k50, k51, k52, k53} \ | ||
| 95 | } | ||
| 96 | |||
| 97 | #define LAYOUT_split_enter( \ | ||
| 98 | k00, k01, k02, k03, \ | ||
| 99 | k10, k11, k12, k13, \ | ||
| 100 | k20, k21, k22, \ | ||
| 101 | k30, k31, k32, k33, \ | ||
| 102 | k40, k41, k42, k43, \ | ||
| 103 | k51, k52, k53 \ | ||
| 104 | ) \ | ||
| 105 | { \ | ||
| 106 | {k00, k01, k02, k03}, \ | ||
| 107 | {k10, k11, k12, k13}, \ | ||
| 108 | {k20, k21, k22, KC_NO}, \ | ||
| 109 | {k30, k31, k32, k33}, \ | ||
| 110 | {k40, k41, k42, k43}, \ | ||
| 111 | {KC_NO, k51, k52, k53} \ | ||
| 112 | } | ||
| 113 | |||
| 114 | #define LAYOUT_split_enter_plus( \ | ||
| 115 | k00, k01, k02, k03, \ | ||
| 116 | k10, k11, k12, k13, \ | ||
| 117 | k20, k21, k22, k23, \ | ||
| 118 | k30, k31, k32, k33, \ | ||
| 119 | k40, k41, k42, k43, \ | ||
| 120 | k51, k52, k53 \ | ||
| 121 | ) \ | ||
| 122 | { \ | ||
| 123 | {k00, k01, k02, k03}, \ | ||
| 124 | {k10, k11, k12, k13}, \ | ||
| 125 | {k20, k21, k22, k23}, \ | ||
| 126 | {k30, k31, k32, k33}, \ | ||
| 127 | {k40, k41, k42, k43}, \ | ||
| 128 | {KC_NO, k51, k52, k53} \ | ||
| 129 | } | ||
| 130 | |||
| 131 | #define LAYOUT_split_zero_plus( \ | ||
| 132 | k00, k01, k02, k03, \ | ||
| 133 | k10, k11, k12, k13, \ | ||
| 134 | k20, k21, k22, k23, \ | ||
| 135 | k30, k31, k32, k33, \ | ||
| 136 | k40, k41, k42, \ | ||
| 137 | k50, k51, k52, k53 \ | ||
| 138 | ) \ | ||
| 139 | { \ | ||
| 140 | {k00, k01, k02, k03}, \ | ||
| 141 | {k10, k11, k12, k13}, \ | ||
| 142 | {k20, k21, k22, k23}, \ | ||
| 143 | {k30, k31, k32, k33}, \ | ||
| 144 | {k40, k41, k42, KC_NO}, \ | ||
| 145 | {k50, k51, k52, k53} \ | ||
| 146 | } | ||
diff --git a/keyboards/hineybush/h10/info.json b/keyboards/hineybush/h10/info.json new file mode 100644 index 000000000..b08c407c3 --- /dev/null +++ b/keyboards/hineybush/h10/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "h10", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "hineybush", | ||
| 5 | "width": 5.25, | ||
| 6 | "height": 7.5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ortho_6x4": { | ||
| 9 | "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1, "y":0}, {"label":"0,2", "x":2, "y":0}, {"label":"0,3", "x":3, "y":0}, {"label":"1,0", "x":0, "y":1.25}, {"label":"1,1", "x":1, "y":1.25}, {"label":"1,2", "x":2, "y":1.25}, {"label":"1,3", "x":3, "y":1.25}, {"label":"2,0", "x":0, "y":2.25}, {"label":"2,1", "x":1, "y":2.25}, {"label":"2,2", "x":2, "y":2.25}, {"label":"2,3", "x":3, "y":2.25}, {"label":"3,0", "x":0, "y":3.25}, {"label":"3,1", "x":1, "y":3.25}, {"label":"3,2", "x":2, "y":3.25}, {"label":"3,3", "x":3, "y":3.25}, {"label":"4,0", "x":0, "y":4.25}, {"label":"4,1", "x":1, "y":4.25}, {"label":"4,2", "x":2, "y":4.25}, {"label":"4,3", "x":3, "y":4.25}, {"label":"5,0", "x":0, "y":5.25}, {"label":"5,1", "x":1, "y":5.25}, {"label":"5,2", "x":2, "y":5.25}, {"label":"5,3", "x":3, "y":5.25}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/hineybush/h10/keymaps/default/keymap.c b/keyboards/hineybush/h10/keymaps/default/keymap.c new file mode 100644 index 000000000..125cce88b --- /dev/null +++ b/keyboards/hineybush/h10/keymaps/default/keymap.c | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | /* Copyright 2020 hineybush | ||
| 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 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | /* Base */ | ||
| 21 | [0] = LAYOUT_numpad_6x4( | ||
| 22 | KC_ESC, KC_PEQL, KC_BSPC, MO(1), | ||
| 23 | KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 24 | KC_P7, KC_P8, KC_P9, | ||
| 25 | KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 26 | KC_P1, KC_P2, KC_P3, | ||
| 27 | KC_P0, KC_PDOT, KC_PENT | ||
| 28 | ), | ||
| 29 | [1] = LAYOUT_numpad_6x4( | ||
| 30 | KC_VOLU, KC_MPLY, KC_MNXT, KC_TRNS, | ||
| 31 | KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 35 | KC_TRNS, KC_TRNS, RESET | ||
| 36 | ), | ||
| 37 | }; | ||
| 38 | |||
| 39 | |||
| 40 | |||
diff --git a/keyboards/hineybush/h10/keymaps/default/readme.md b/keyboards/hineybush/h10/keymaps/default/readme.md new file mode 100644 index 000000000..fd8638b75 --- /dev/null +++ b/keyboards/hineybush/h10/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for h10 | |||
diff --git a/keyboards/hineybush/h10/keymaps/via/keymap.c b/keyboards/hineybush/h10/keymaps/via/keymap.c new file mode 100644 index 000000000..5b6d9a3e4 --- /dev/null +++ b/keyboards/hineybush/h10/keymaps/via/keymap.c | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | /* Copyright 2020 hineybush | ||
| 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 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | /* Base */ | ||
| 21 | [0] = LAYOUT_numpad_6x4( | ||
| 22 | KC_ESC, KC_PEQL, KC_BSPC, MO(1), | ||
| 23 | KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 24 | KC_P7, KC_P8, KC_P9, | ||
| 25 | KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 26 | KC_P1, KC_P2, KC_P3, | ||
| 27 | KC_P0, KC_PDOT, KC_PENT | ||
| 28 | ), | ||
| 29 | [1] = LAYOUT_numpad_6x4( | ||
| 30 | KC_VOLU, KC_MPLY, KC_MNXT, KC_TRNS, | ||
| 31 | KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 35 | KC_TRNS, KC_TRNS, RESET | ||
| 36 | ), | ||
| 37 | [2] = LAYOUT_numpad_6x4( | ||
| 38 | KC_VOLU, KC_MPLY, KC_MNXT, KC_TRNS, | ||
| 39 | KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 40 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 42 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 43 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 44 | ), | ||
| 45 | [3] = LAYOUT_numpad_6x4( | ||
| 46 | KC_VOLU, KC_MPLY, KC_MNXT, KC_TRNS, | ||
| 47 | KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 48 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 49 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 50 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 51 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 52 | ), | ||
| 53 | }; | ||
| 54 | |||
| 55 | |||
| 56 | |||
diff --git a/keyboards/hineybush/h10/keymaps/via/readme.md b/keyboards/hineybush/h10/keymaps/via/readme.md new file mode 100644 index 000000000..5986e1482 --- /dev/null +++ b/keyboards/hineybush/h10/keymaps/via/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The via keymap for h10 | |||
diff --git a/keyboards/hineybush/h10/keymaps/via/rules.mk b/keyboards/hineybush/h10/keymaps/via/rules.mk new file mode 100644 index 000000000..7a029a795 --- /dev/null +++ b/keyboards/hineybush/h10/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # Copyright hineybush 2020 | ||
| 2 | VIA_ENABLE = yes | ||
diff --git a/keyboards/hineybush/h10/readme.md b/keyboards/hineybush/h10/readme.md new file mode 100644 index 000000000..19b8a44cd --- /dev/null +++ b/keyboards/hineybush/h10/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # h10 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A custom numpad PCB. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [hineybush](https://github.com/hineybush) | ||
| 8 | * Hardware Supported: h10 proto 1 | ||
| 9 | * Hardware Availability: hiney.cc | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make hineybush/h10:default | ||
| 14 | |||
| 15 | 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/hineybush/h10/rules.mk b/keyboards/hineybush/h10/rules.mk new file mode 100644 index 000000000..450487379 --- /dev/null +++ b/keyboards/hineybush/h10/rules.mk | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = yes # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_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 | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | MIDI_ENABLE = no # MIDI support | ||
| 22 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 23 | AUDIO_ENABLE = no # Audio output | ||
| 24 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 25 | |||
| 26 | LAYOUTS = ortho_6x4 numpad_6x4 | ||
