diff options
Diffstat (limited to 'keyboards/handwired/promethium')
| -rw-r--r-- | keyboards/handwired/promethium/keymaps/default/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/handwired/promethium/keymaps/priyadi/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/handwired/promethium/promethium.h | 36 | ||||
| -rw-r--r-- | keyboards/handwired/promethium/rules.mk | 4 |
4 files changed, 19 insertions, 25 deletions
diff --git a/keyboards/handwired/promethium/keymaps/default/rules.mk b/keyboards/handwired/promethium/keymaps/default/rules.mk index 05807b577..d117f3eef 100644 --- a/keyboards/handwired/promethium/keymaps/default/rules.mk +++ b/keyboards/handwired/promethium/keymaps/default/rules.mk | |||
| @@ -14,11 +14,9 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||
| 14 | MIDI_ENABLE = no # MIDI controls | 14 | MIDI_ENABLE = no # MIDI controls |
| 15 | AUDIO_ENABLE = no # Audio output | 15 | AUDIO_ENABLE = no # Audio output |
| 16 | UNICODEMAP_ENABLE = yes | 16 | UNICODEMAP_ENABLE = yes |
| 17 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 18 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 17 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 19 | PS2_MOUSE_ENABLE = yes | 18 | PS2_MOUSE_ENABLE = yes |
| 20 | PS2_USE_INT = yes | 19 | PS2_USE_INT = yes |
| 21 | BLUETOOTH = AdafruitBLE | ||
| 22 | 20 | ||
| 23 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 21 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 24 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 22 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
diff --git a/keyboards/handwired/promethium/keymaps/priyadi/rules.mk b/keyboards/handwired/promethium/keymaps/priyadi/rules.mk index 4fd9b656b..96db4fcbb 100644 --- a/keyboards/handwired/promethium/keymaps/priyadi/rules.mk +++ b/keyboards/handwired/promethium/keymaps/priyadi/rules.mk | |||
| @@ -15,11 +15,9 @@ MIDI_ENABLE = no # MIDI controls | |||
| 15 | AUDIO_ENABLE = no # Audio output on port C6 | 15 | AUDIO_ENABLE = no # Audio output on port C6 |
| 16 | UNICODE_ENABLE = no # Unicode | 16 | UNICODE_ENABLE = no # Unicode |
| 17 | UNICODEMAP_ENABLE = yes | 17 | UNICODEMAP_ENABLE = yes |
| 18 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 19 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 18 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 20 | PS2_MOUSE_ENABLE = yes | 19 | PS2_MOUSE_ENABLE = yes |
| 21 | PS2_USE_INT = yes | 20 | PS2_USE_INT = yes |
| 22 | BLUETOOTH = AdafruitBLE | ||
| 23 | 21 | ||
| 24 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 25 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
diff --git a/keyboards/handwired/promethium/promethium.h b/keyboards/handwired/promethium/promethium.h index f35e5429b..c4c90176b 100644 --- a/keyboards/handwired/promethium/promethium.h +++ b/keyboards/handwired/promethium/promethium.h | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #ifndef PROMETHIUM_H | 1 | #pragma once |
| 2 | #define PROMETHIUM_H | ||
| 3 | 2 | ||
| 4 | #include <stdint.h> | 3 | #include <stdint.h> |
| 5 | 4 | ||
| @@ -7,23 +6,22 @@ void battery_poll(uint8_t level); | |||
| 7 | void led_set_kb(uint8_t usb_led); | 6 | void led_set_kb(uint8_t usb_led); |
| 8 | void led_set_user(uint8_t usb_led); | 7 | void led_set_user(uint8_t usb_led); |
| 9 | 8 | ||
| 9 | #define XXX KC_NO | ||
| 10 | |||
| 10 | #define LAYOUT( \ | 11 | #define LAYOUT( \ |
| 11 | k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ | 12 | k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \ |
| 12 | k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | 13 | k10, k11, k12, k13, k14, k15, k50, k51, k52, k53, k54, k55, \ |
| 13 | k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \ | 14 | k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \ |
| 14 | k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, \ | 15 | k30, k31, k32, k33, k34, k35, k70, k71, k72, k73, k74, k75, \ |
| 15 | tp1, tp2, tp3 \ | 16 | tp1, tp2, tp3 \ |
| 16 | ) \ | 17 | ) { \ |
| 17 | { \ | 18 | { k00, k01, k02, k03, k04, k05 }, \ |
| 18 | {k11, k12, k13, k14, k15, k16}, \ | 19 | { k10, k11, k12, k13, k14, k15 }, \ |
| 19 | {k21, k22, k23, k24, k25, k26}, \ | 20 | { k20, k21, k22, k23, k24, k25 }, \ |
| 20 | {k31, k32, k33, k34, k35, k36}, \ | 21 | { k30, k31, k32, k33, k34, k35 }, \ |
| 21 | {k41, k42, k43, k44, k45, k46}, \ | 22 | { k40, k41, k42, k43, k44, k45 }, \ |
| 22 | {k17, k18, k19, k1a, k1b, k1c}, \ | 23 | { k50, k51, k52, k53, k54, k55 }, \ |
| 23 | {k27, k28, k29, k2a, k2b, k2c}, \ | 24 | { k60, k61, k62, k63, k64, k65 }, \ |
| 24 | {k37, k38, k39, k3a, k3b, k3c}, \ | 25 | { k70, k71, k72, k73, k74, k75 }, \ |
| 25 | {k47, k48, k49, k4a, k4b, k4c}, \ | 26 | { tp1, tp2, tp3, XXX, XXX, XXX } \ |
| 26 | {tp1, tp2, tp3, KC_NO, KC_NO, KC_NO} \ | ||
| 27 | } | 27 | } |
| 28 | |||
| 29 | #endif | ||
diff --git a/keyboards/handwired/promethium/rules.mk b/keyboards/handwired/promethium/rules.mk index ec49c49b1..5a96bdd60 100644 --- a/keyboards/handwired/promethium/rules.mk +++ b/keyboards/handwired/promethium/rules.mk | |||
| @@ -19,12 +19,12 @@ COMMAND_ENABLE = no # Commands for debug and configuration | |||
| 19 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 19 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 20 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 20 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 21 | AUDIO_ENABLE = no # Audio output | 21 | AUDIO_ENABLE = no # Audio output |
| 22 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 23 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 22 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 24 | PS2_MOUSE_ENABLE = yes | 23 | PS2_MOUSE_ENABLE = yes |
| 25 | PS2_USE_INT = yes | 24 | PS2_USE_INT = yes |
| 26 | CUSTOM_MATRIX = yes | 25 | CUSTOM_MATRIX = yes |
| 27 | BLUETOOTH = AdafruitBLE | 26 | BLUETOOTH_ENABLE = yes |
| 27 | BLUETOOTH_DRIVER = AdafruitBLE | ||
| 28 | 28 | ||
| 29 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 29 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 30 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 30 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
