diff options
author | Wilba6582 <Jason.S.Wiliams@gmail.com> | 2018-07-14 16:51:34 +1000 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-07-15 12:50:36 -0400 |
commit | 3d9fda3629c09819f2b7c07c68e3504bdf4cd0d3 (patch) | |
tree | 43851ffdfdce8a81762fe2641639d4d6131903c3 /keyboards/rama/m10_b/keymaps/knops/keymap.c | |
parent | ffa119941cac14d6e81853da670f8223823112c3 (diff) |
Added M10-B implementation
Diffstat (limited to 'keyboards/rama/m10_b/keymaps/knops/keymap.c')
-rw-r--r-- | keyboards/rama/m10_b/keymaps/knops/keymap.c | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/keyboards/rama/m10_b/keymaps/knops/keymap.c b/keyboards/rama/m10_b/keymaps/knops/keymap.c new file mode 100644 index 0000000000..b90ca686fb --- /dev/null +++ b/keyboards/rama/m10_b/keymaps/knops/keymap.c @@ -0,0 +1,64 @@ +#include QMK_KEYBOARD_H + +/*KNOPS_MISC*/ + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + /*KNOPS_LAYOUT*/ + +}; + +// M10-B LEDs are all in parallel and controlled by the QMK backlight +// functionality. LED functions here are for possible future use +// as layer indicators, etc. and not implemented yet. +// +// To implement LED functions here, QMK backlight functionality +// will need to be disabled either via rules.mk or config.h +// or overriding the backlight functions to do nothing. +// +// LEDs are driven by a transistor connected to pin C6. +// + +void set_led_state(int ledId, bool state) +{ +} + +void led_init_ports() +{ +} + +void led_set_layer(int layer) +{ + led_init_ports(); + + led_set_layer(0); + + /*KNOPS_SIMPLELED_STATES*/ +} + +void matrix_init_user(void) +{ + /*KNOPS_INIT*/ +} + +const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) +{ + /*KNOPS_MACRO*/ + return NULL; +} + +void matrix_scan_user(void) +{ + /*KNOPS_SCAN*/ +} + +void led_set_user(uint8_t usb_led) +{ + /*KNOPS_FUNCTIONALLED_STATES*/ +} + +bool process_record_user(uint16_t keycode, keyrecord_t *record) +{ + /*KNOPS_PROCESS_STATE*/ + return NULL; +} |