2
0

keymap.c 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #include QMK_KEYBOARD_H
  2. /*KNOPS_MISC*/
  3. const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
  4. /*KNOPS_LAYOUT*/
  5. };
  6. // M10-B LEDs are all in parallel and controlled by the QMK backlight
  7. // functionality. LED functions here are for possible future use
  8. // as layer indicators, etc. and not implemented yet.
  9. //
  10. // To implement LED functions here, QMK backlight functionality
  11. // will need to be disabled either via rules.mk or config.h
  12. // or overriding the backlight functions to do nothing.
  13. //
  14. // LEDs are driven by a transistor connected to pin C6.
  15. //
  16. void set_led_state(int ledId, bool state)
  17. {
  18. }
  19. void led_init_ports()
  20. {
  21. }
  22. void led_set_layer(int layer)
  23. {
  24. led_init_ports();
  25. led_set_layer(0);
  26. /*KNOPS_SIMPLELED_STATES*/
  27. }
  28. void matrix_init_user(void)
  29. {
  30. /*KNOPS_INIT*/
  31. }
  32. const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
  33. {
  34. /*KNOPS_MACRO*/
  35. return NULL;
  36. }
  37. void matrix_scan_user(void)
  38. {
  39. /*KNOPS_SCAN*/
  40. }
  41. void led_set_user(uint8_t usb_led)
  42. {
  43. /*KNOPS_FUNCTIONALLED_STATES*/
  44. }
  45. bool process_record_user(uint16_t keycode, keyrecord_t *record)
  46. {
  47. /*KNOPS_PROCESS_STATE*/
  48. return NULL;
  49. }