From db8b547b7da6c6bd0c63ca0bad250048eb8cb934 Mon Sep 17 00:00:00 2001 From: noroadsleft <18669334+noroadsleft@users.noreply.github.com> Date: Wed, 4 Jul 2018 21:44:02 -0700 Subject: Tiger Lily Controller refactor and Configurator support (#3313) * Matrix refactor: rename KEYMAP to LAYOUT; +LAYOUT_fullsize_ansi * Keymap refactor: QMK_KEYBOARD_H; matrix rename; +default_ansi keymap * Configurator support * Add LAYOUTS = fullsize_ansi to rules.mk * Readme cleanup --- keyboards/tiger_lily/keymaps/default_ansi/config.h | 8 ++++++++ keyboards/tiger_lily/keymaps/default_ansi/keymap.c | 11 +++++++++++ keyboards/tiger_lily/keymaps/default_ansi/readme.md | 3 +++ keyboards/tiger_lily/keymaps/default_ansi/rules.mk | 21 +++++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 keyboards/tiger_lily/keymaps/default_ansi/config.h create mode 100644 keyboards/tiger_lily/keymaps/default_ansi/keymap.c create mode 100644 keyboards/tiger_lily/keymaps/default_ansi/readme.md create mode 100644 keyboards/tiger_lily/keymaps/default_ansi/rules.mk (limited to 'keyboards/tiger_lily/keymaps/default_ansi') diff --git a/keyboards/tiger_lily/keymaps/default_ansi/config.h b/keyboards/tiger_lily/keymaps/default_ansi/config.h new file mode 100644 index 0000000000..8893d122e0 --- /dev/null +++ b/keyboards/tiger_lily/keymaps/default_ansi/config.h @@ -0,0 +1,8 @@ +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "../../config.h" + +// place overrides here + +#endif diff --git a/keyboards/tiger_lily/keymaps/default_ansi/keymap.c b/keyboards/tiger_lily/keymaps/default_ansi/keymap.c new file mode 100644 index 0000000000..6457b0282a --- /dev/null +++ b/keyboards/tiger_lily/keymaps/default_ansi/keymap.c @@ -0,0 +1,11 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT_fullsize_ansi(\ + 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_PSCR,KC_SLCK,KC_PAUS, \ + 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, KC_NLCK,KC_PSLS,KC_PAST,KC_PMNS, \ + 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, KC_P7, KC_P8, KC_P9,KC_PPLS, \ + KC_CAPS, 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_P4, KC_P5, KC_P6, \ + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M,KC_COMM, KC_DOT,KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3,KC_PENT, \ + KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP,KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT, KC_P0,KC_PDOT) +}; \ No newline at end of file diff --git a/keyboards/tiger_lily/keymaps/default_ansi/readme.md b/keyboards/tiger_lily/keymaps/default_ansi/readme.md new file mode 100644 index 0000000000..2cb8c89935 --- /dev/null +++ b/keyboards/tiger_lily/keymaps/default_ansi/readme.md @@ -0,0 +1,3 @@ +# default_ansi + +A standard fullsize ANSI-layout keymap for Tiger Lily-powered keyboards. diff --git a/keyboards/tiger_lily/keymaps/default_ansi/rules.mk b/keyboards/tiger_lily/keymaps/default_ansi/rules.mk new file mode 100644 index 0000000000..9d3df5964f --- /dev/null +++ b/keyboards/tiger_lily/keymaps/default_ansi/rules.mk @@ -0,0 +1,21 @@ +# Build Options +# change to "no" to disable the options, or define them in the Makefile in +# the appropriate keymap folder that will get included automatically +# +BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) +MOUSEKEY_ENABLE = yes # Mouse keys(+4700) +EXTRAKEY_ENABLE = yes # Audio control and System control(+450) +CONSOLE_ENABLE = no # Console for debug(+400) +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +MIDI_ENABLE = no # MIDI controls +AUDIO_ENABLE = no # Audio output on port C6 +UNICODE_ENABLE = no # Unicode +BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID +RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif -- cgit v1.2.3