keymap.c 964 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #include QMK_KEYBOARD_H
  2. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  3. LAYOUT_ortho_5x4(
  4. KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
  5. KC_P7, KC_P8, KC_P9, KC_PPLS,
  6. KC_P4, KC_P5, KC_P6, KC_PPLS,
  7. KC_P1, KC_P2, KC_P3, KC_PENT,
  8. KC_P0, KC_P0, KC_PDOT, KC_PENT),
  9. LAYOUT_numpad_5x4(
  10. KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
  11. KC_P7, KC_P8, KC_P9,
  12. KC_P4, KC_P5, KC_P6, KC_PPLS,
  13. KC_P1, KC_P2, KC_P3,
  14. KC_P0, KC_PDOT, KC_PENT),
  15. };
  16. void matrix_init_user(void) {
  17. }
  18. void matrix_scan_user(void) {
  19. }
  20. bool process_record_user(uint16_t keycode, keyrecord_t *record) {
  21. return true;
  22. }
  23. void led_set_user(uint8_t usb_led) {
  24. if (usb_led & (1 << USB_LED_NUM_LOCK)) {
  25. } else {
  26. }
  27. if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
  28. } else {
  29. }
  30. if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
  31. } else {
  32. }
  33. if (usb_led & (1 << USB_LED_COMPOSE)) {
  34. } else {
  35. }
  36. if (usb_led & (1 << USB_LED_KANA)) {
  37. } else {
  38. }
  39. }