mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-01 05:07:26 +06:00
62 lines
918 B
C
62 lines
918 B
C
|
#include QMK_KEYBOARD_H
|
||
|
|
||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||
|
|
||
|
LAYOUT_ortho_4x4(
|
||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||
|
|
||
|
LAYOUT_tradestation(
|
||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||
|
KC_TRNS, KC_TRNS,
|
||
|
KC_TRNS, KC_TRNS),
|
||
|
};
|
||
|
|
||
|
|
||
|
void matrix_init_user(void) {
|
||
|
}
|
||
|
|
||
|
void matrix_scan_user(void) {
|
||
|
}
|
||
|
|
||
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
void led_set_user(uint8_t usb_led) {
|
||
|
|
||
|
if (usb_led & (1 << USB_LED_NUM_LOCK)) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
|
||
|
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
|
||
|
if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
|
||
|
if (usb_led & (1 << USB_LED_COMPOSE)) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
|
||
|
if (usb_led & (1 << USB_LED_KANA)) {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|