diff options
author | Wilba <Jason.S.Williams@gmail.com> | 2019-07-21 21:46:22 +1000 |
---|---|---|
committer | Danny <nooges@users.noreply.github.com> | 2019-07-21 07:46:22 -0400 |
commit | bffbb4b42d3167125f54b5aeb7a30fef44ff5dbe (patch) | |
tree | 679ba294b68488b74e54300a435654057f09af81 /keyboards/wilba_tech/rama_works_m10_b/keymaps | |
parent | d686c0ea43d6a9db7768da64ee54c3ba25c018f7 (diff) |
Refactoring wilba.tech PCBs, updating Rama Works U80-A (#6272)
* Added WT65-B, WT75-B, minor fixes
* Update keyboards/wilba_tech/wt65_b/config.h
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/wilba_tech/wt65_b/readme.md
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update keyboards/wilba_tech/wt75_b/config.h
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Change DEBOUNCING_DELAY to DEBOUNCE
* Change DEBOUNCING_DELAY to DEBOUNCE
* Move Zeal60/Zeal65 files to keyboards/wilba_tech
* Change DEBOUNCING_DELAY to DEBOUNCE
* Refactoring zeal60 code to wilba_tech
* Moved Rama Works PCBs to wilba_tech
* Rename Rama Works files
* Cleanup info.json
* Cleanup readme.md
* Cleanup USB device strings
* U80-A RGB matrix, IS31FL3731 driver changes
* Fixed #include from keyboards/zeal60
Diffstat (limited to 'keyboards/wilba_tech/rama_works_m10_b/keymaps')
6 files changed, 130 insertions, 0 deletions
diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/config.h b/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/config.h new file mode 100644 index 0000000000..2a3bf1819f --- /dev/null +++ b/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/config.h @@ -0,0 +1,19 @@ +/* Copyright 2018 Wilba + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +// place overrides here diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/keymap.c b/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/keymap.c new file mode 100644 index 0000000000..c307bcb2a7 --- /dev/null +++ b/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/keymap.c @@ -0,0 +1,8 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + LAYOUT( + KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_0 ) + +}; diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/readme.md b/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/readme.md new file mode 100644 index 0000000000..3b3d6c3970 --- /dev/null +++ b/keyboards/wilba_tech/rama_works_m10_b/keymaps/default/readme.md @@ -0,0 +1,7 @@ +![RAMA M10-B Layout Image](https://static1.squarespace.com/static/563c788ae4b099120ae219e2/5b4997390e2e72d65f7a8e83/5b49993d6d2a732ab3595146/1531550014142/M10-Layout.jpg) + +# Default RAMA M10-B Layout + +This is an example layout. + + diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/config.h b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/config.h new file mode 100644 index 0000000000..7c3ec9601d --- /dev/null +++ b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/config.h @@ -0,0 +1,25 @@ +/* Copyright 2018 Wilba + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "../../config.h" + +#undef RAW_ENABLE +#undef DYNAMIC_KEYMAP_ENABLE + +#endif diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c new file mode 100644 index 0000000000..b90ca686fb --- /dev/null +++ b/keyboards/wilba_tech/rama_works_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; +} diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/readme.md b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/readme.md new file mode 100644 index 0000000000..3b3d6c3970 --- /dev/null +++ b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/readme.md @@ -0,0 +1,7 @@ +![RAMA M10-B Layout Image](https://static1.squarespace.com/static/563c788ae4b099120ae219e2/5b4997390e2e72d65f7a8e83/5b49993d6d2a732ab3595146/1531550014142/M10-Layout.jpg) + +# Default RAMA M10-B Layout + +This is an example layout. + + |