diff options
author | peepeetee <43021794+peepeetee@users.noreply.github.com> | 2022-04-19 18:17:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 20:17:21 +1000 |
commit | 9f63bce70bd8e065e54de17c48994c3c008d2e0a (patch) | |
tree | 580aa20cd65eabf721603f03cb3d2815a1245c13 /keyboards/honeycomb/keymaps/default | |
parent | cff489bfdb2752956292c1e9adf1b4223814c267 (diff) | |
download | qmk_firmware-9f63bce70bd8e065e54de17c48994c3c008d2e0a.tar.gz qmk_firmware-9f63bce70bd8e065e54de17c48994c3c008d2e0a.zip |
move keyhive exclusive boards into /keyhive (#16084)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/honeycomb/keymaps/default')
-rwxr-xr-x | keyboards/honeycomb/keymaps/default/keymap.c | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/keyboards/honeycomb/keymaps/default/keymap.c b/keyboards/honeycomb/keymaps/default/keymap.c deleted file mode 100755 index d0a5961873..0000000000 --- a/keyboards/honeycomb/keymaps/default/keymap.c +++ /dev/null @@ -1,91 +0,0 @@ -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. -enum honeycomb_layers { - _BS, - _EN -}; - -// Macro definitions for readability -enum honeycomb_keycodes { - HW = SAFE_RANGE, - COPY, - PASTA -}; - -extern int8_t encoderValue; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BS] = LAYOUT( /* Base layout, put whatever defaults. */ - HW, COPY, PASTA, KC_MUTE, - KC_4, KC_5, KC_6, KC_7, - KC_8, KC_9, KC_A, KC_B, - KC_C, KC_D, KC_E, KC_F - ), - - [_EN] = LAYOUT( /* Alternate layer */ - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______ - ) -}; - -report_mouse_t currentReport = {}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - //uint8_t layer = biton32(layer_state); // get the current layer - - // Basic example functions - switch (keycode) { - case HW: - if (record->event.pressed) { - SEND_STRING("Hello, world!"); - } else { - SEND_STRING("Goodbye, cruel world!"); - } - break; - case COPY: - if (record->event.pressed) { - tap_code16(LCTL(KC_C)); // Replace with tap_code16(LCMD(KC_C)) to enable for Mac - } - break; - case PASTA: - if (record->event.pressed) { - tap_code16(LCTL(KC_V)); // Replace with tap_code16(LCMD(KC_V)) to enable for Mac - } - break; - return false; - } - return true; -}; - -void matrix_scan_user(void) { - /* Leaving some LED stuff in here in comment form so you can see how to use it. - if (shiftLED || capsLED){ - red_led_on; - } else { - red_led_off; - } - if (numLED){ - grn_led_on; - } else { - grn_led_off; - } - if (mouseLED){ - blu_led_on; - } else { - blu_led_off; - }*/ - while (encoderValue < 0){ - tap_code(KC_VOLD); - encoderValue++; - } - while (encoderValue > 0){ - tap_code(KC_VOLU); - encoderValue--; - } -}; |