keyboard/qmk/keyboards/dz60/keymaps/mrsendyyk
2020-09-24 23:24:14 -04:00
..
keymap.c Add back qmk firmware that's been updated for kemonine setups 2020-09-24 23:24:14 -04:00
readme.md Add back qmk firmware that's been updated for kemonine setups 2020-09-24 23:24:14 -04:00

Sendy YK's 60% ANSI Arrow Layout and Keymap

This is Sendy YK's 60% ANSI Arrow Layout and Keymap (with RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator).

60% ANSI Arrow Layout

LAYOUT_60_ansi_arrow

Keymap

Default Layer [0]

Default Layer [0]

Fn Layer [1]

Press and hold right Ctrl key.

Fn Layer [1]

Fn Layer [2]

Press and hold right Alt key.

Fn Layer [2]

RGB Lighting/LED/Underglow as Caps Lock, Num Lock, Scroll Lock, and Layer Indicator

Caps Lock Indicator

/* Caps Lock Indicator */
   if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
     writePinLow(B2);
     rgblight_setrgb(100, 255, 100);
   }

Num Lock Indicator

/* Num Lock Indicator */
   if (host_keyboard_led_state().num_lock) {
     rgblight_setrgb(225, 8, 0);
   }

Scroll Lock Indicator

/* Scroll Lock Indicator */
   if (host_keyboard_led_state().scroll_lock) {
     rgblight_setrgb(241, 190, 72);
   }

Layer Indicator

/* Layer Indicator */
   else {          
     switch (get_highest_layer(layer_state)) {
     /* Fn Layer [1] Indicator */
        case 1:
          rgblight_setrgb(255, 110, 0);
          break;
     /* Fn Layer [2] Indicator */
        case 2:
          rgblight_setrgb(255, 110, 0);
          break;
     /* Default Layer [0] Indicator */
        default:
          rgblight_setrgb(0, 0, 0);
          break;
     }
     update_led();
   }

Build The Firmware

You will need to build the firmware. To do so go to your terminal window and run the compile command:

qmk compile -kb dz60 -km mrsendyyk

See The Complete Newbs Guide To QMK.