From 8fa9f67256772984110a6e21f19d6fb8594b804d Mon Sep 17 00:00:00 2001 From: Jeremy Bernhardt Date: Fri, 29 Mar 2019 11:39:28 -0600 Subject: [Keyboard] ErgoTaco Support (#5504) * ErgoTaco support * Update keyboards/ergotaco/ergotaco.h Co-Authored-By: germ * Update keyboards/ergotaco/keymaps/default/keymap.c Co-Authored-By: germ * Update keyboards/ergotaco/keymaps/default/keymap.c Co-Authored-By: germ * Update keyboards/ergotaco/readme.md Co-Authored-By: germ * Update keyboards/ergotaco/readme.md Co-Authored-By: germ * Update keyboards/ergotaco/rules.mk Co-Authored-By: germ * juggling rules.mk * Update keyboards/ergotaco/rules.mk Co-Authored-By: germ * updating IS_COMMAND * learning2english Meme-tastic --Drashna --- keyboards/ergotaco/keymaps/default/keymap.c | 42 ++++++++++++++++++++++++++++ keyboards/ergotaco/keymaps/default/readme.md | 6 ++++ keyboards/ergotaco/keymaps/default/rules.mk | 10 +++++++ 3 files changed, 58 insertions(+) create mode 100644 keyboards/ergotaco/keymaps/default/keymap.c create mode 100644 keyboards/ergotaco/keymaps/default/readme.md create mode 100644 keyboards/ergotaco/keymaps/default/rules.mk (limited to 'keyboards/ergotaco/keymaps') diff --git a/keyboards/ergotaco/keymaps/default/keymap.c b/keyboards/ergotaco/keymaps/default/keymap.c new file mode 100644 index 000000000..be1267ef0 --- /dev/null +++ b/keyboards/ergotaco/keymaps/default/keymap.c @@ -0,0 +1,42 @@ +/* Good on you for modifying your layout! if you don't have + * time to read the QMK docs, a list of keycodes can be found at + * + * https://github.com/qmk/qmk_firmware/blob/master/docs/keycodes.md + * + * There's also a template for adding new layers at the bottom of this file! + */ + +#include QMK_KEYBOARD_H + +#define FIESTA 0 // default layer +#define TACOTIME 1 // symbols + +// Blank template at the bottom +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +/* Keymap template + * + * ,-------------------------------------------------. ,--------------------------------------------. + * | | | | | | | | | | | | | | | + * `-------+------+------+------+------+-------------' `-------+------+------+------+------+--------' */ +[FIESTA] = LAYOUT( + KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H +), +}; + +/* Keymap template + * + * ,-------------------------------------------------. ,--------------------------------------------. + * | | | | | | | | | | | | | | | + * `-------+------+------+------+------+-------------' `-------+------+------+------+------+--------' +[FIESTA] = LAYOUT( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS +), + */ + +// Runs just one time when the keyboard initializes. +void matrix_init_user(void) { +}; + +// Runs constantly in the background, in a loop. +void matrix_scan_user(void) { +}; diff --git a/keyboards/ergotaco/keymaps/default/readme.md b/keyboards/ergotaco/keymaps/default/readme.md new file mode 100644 index 000000000..653f3774e --- /dev/null +++ b/keyboards/ergotaco/keymaps/default/readme.md @@ -0,0 +1,6 @@ +This is the default keymap for the ErgoTaco, Make it your own! + +## Settings +To edit various settings, enable the 1u trackball and whatnot please modify /keyboards/ergotaco/keymaps/default/rules.mk + +Ideally you should copy this directory and make your changes there. If you come up with a good layout submit a PR! diff --git a/keyboards/ergotaco/keymaps/default/rules.mk b/keyboards/ergotaco/keymaps/default/rules.mk new file mode 100644 index 000000000..e394fbf1e --- /dev/null +++ b/keyboards/ergotaco/keymaps/default/rules.mk @@ -0,0 +1,10 @@ +#---------------------------------------------------------------------------- +# make ergotaco:default:dfu +# Make sure you have dfu-programmer installed! +#---------------------------------------------------------------------------- +# Firmware options + +#Debug options +VERBOSE = yes +DEBUG_MATRIX_SCAN_RATE = no +DEBUG_MATRIX = yes -- cgit v1.2.3-24-g4f1b