aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/promethium
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/promethium')
-rw-r--r--keyboards/handwired/promethium/keymaps/default/rules.mk2
-rw-r--r--keyboards/handwired/promethium/keymaps/priyadi/rules.mk2
-rw-r--r--keyboards/handwired/promethium/promethium.h36
-rw-r--r--keyboards/handwired/promethium/rules.mk4
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
14MIDI_ENABLE = no # MIDI controls 14MIDI_ENABLE = no # MIDI controls
15AUDIO_ENABLE = no # Audio output 15AUDIO_ENABLE = no # Audio output
16UNICODEMAP_ENABLE = yes 16UNICODEMAP_ENABLE = yes
17BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
18RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. 17RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
19PS2_MOUSE_ENABLE = yes 18PS2_MOUSE_ENABLE = yes
20PS2_USE_INT = yes 19PS2_USE_INT = yes
21BLUETOOTH = 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
24SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 22SLEEP_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
15AUDIO_ENABLE = no # Audio output on port C6 15AUDIO_ENABLE = no # Audio output on port C6
16UNICODE_ENABLE = no # Unicode 16UNICODE_ENABLE = no # Unicode
17UNICODEMAP_ENABLE = yes 17UNICODEMAP_ENABLE = yes
18BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
19RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. 18RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
20PS2_MOUSE_ENABLE = yes 19PS2_MOUSE_ENABLE = yes
21PS2_USE_INT = yes 20PS2_USE_INT = yes
22BLUETOOTH = 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
25SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 23SLEEP_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);
7void led_set_kb(uint8_t usb_led); 6void led_set_kb(uint8_t usb_led);
8void led_set_user(uint8_t usb_led); 7void 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
19NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 19NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
20BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 20BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
21AUDIO_ENABLE = no # Audio output 21AUDIO_ENABLE = no # Audio output
22BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
23RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. 22RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
24PS2_MOUSE_ENABLE = yes 23PS2_MOUSE_ENABLE = yes
25PS2_USE_INT = yes 24PS2_USE_INT = yes
26CUSTOM_MATRIX = yes 25CUSTOM_MATRIX = yes
27BLUETOOTH = AdafruitBLE 26BLUETOOTH_ENABLE = yes
27BLUETOOTH_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
30SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 30SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend