Skip to content

Commit

Permalink
add alt on thumb cluster for fast gaming layout
Browse files Browse the repository at this point in the history
  • Loading branch information
matt committed Feb 26, 2024
1 parent dbd6910 commit 2aea79d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 2 additions & 0 deletions keyboards/doio/kb16/rev2/keymaps/warpotato/custom_keycodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ enum keycodes {
MC_ARROW_LOCK,
S_CTRL_TAB,
S_CTRL_TAB_R,
STORE_SETUPS,
PRINT_SETUPS,
};
11 changes: 3 additions & 8 deletions keyboards/moonlander/keymaps/warpotato/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#if CONSOLE_ENABLE
#include "print.h"
#include "os_detection.h"
#endif

#define getarraylength(x) (sizeof(x) / sizeof((x)[0]))
Expand All @@ -47,12 +48,6 @@ void keyboard_post_init_user(void) {
#endif
rgb_matrix_enable();
defer_exec(1000, os_detection_callback, NULL);
#if CONSOLE_ENABLE

uprintf("OS: %2u\n",
current_os
);
#endif
}

void set_layer_color(int layer) {
Expand Down Expand Up @@ -168,12 +163,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#endif
switch (keycode) {
#if CONSOLE_ENABLE
case KC_EQUAL:
case STORE_SETUPS:
if (record->event.pressed) {
store_setups_in_eeprom();
}
return false;
case KC_U:
case PRINT_SETUPS:
if (record->event.pressed) {
print_stored_setups();
}
Expand Down
2 changes: 1 addition & 1 deletion keyboards/moonlander/keymaps/warpotato/layout_user.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,
KC_LSFT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,
KC_LCTL, KC_TRANSPARENT, KC_TRANSPARENT, KC_LSFT, KC_LCTL, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT
KC_TRANSPARENT, KC_LALT, KC_ENTER, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT

),
[FKEYS_GAMING] = LAYOUT_moonlander(
Expand Down
2 changes: 1 addition & 1 deletion keyboards/moonlander/keymaps/warpotato/ledmap_user.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const uint8_t PROGMEM ledmap[][RGB_MATRIX_LED_COUNT][3] = {
{HSV_ICEBLUE}, {HSV_WHITE}, {HSV_WHITE}, {HSV_WHITE}, {HSV_ORANGE},
{HSV_ICEBLUE}, {HSV_WHITE}, {HSV_WHITE}, {HSV_WHITE},
{HSV_ICEBLUE}, {HSV_ICEBLUE}, {HSV_ICEBLUE},
{HSV_LIGHTBLUE}, {HSV_CHILLGREEN}, {HSV_WHITE},
{HSV_LIGHTBLUE}, {HSV_ORANGE}, {HSV_CHILLGREEN},
{HSV_RED},

{HSV_OFF}, {HSV_OFF}, {HSV_OFF}, {HSV_OFF}, {HSV_OFF},
Expand Down

0 comments on commit 2aea79d

Please sign in to comment.