aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/promethium/promethium.h
diff options
context:
space:
mode:
authorGravatar Xyverz <xyverz@gmail.com>2017-02-11 21:57:54 -0800
committerGravatar Xyverz <xyverz@gmail.com>2017-02-11 21:57:54 -0800
commit719f6f02934951c84add9dfe74378f7f9070a1e2 (patch)
tree5044e50ec4d6c50990e80a421cce195dff63fb11 /keyboards/handwired/promethium/promethium.h
parent489415009491847ac1855ef5586e2fdcf303aa19 (diff)
parenta0c2305bd1153d9d578d73effd33896c2dbc26c8 (diff)
downloadqmk_firmware-719f6f02934951c84add9dfe74378f7f9070a1e2.tar.gz
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboards/handwired/promethium/promethium.h')
-rw-r--r--keyboards/handwired/promethium/promethium.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/keyboards/handwired/promethium/promethium.h b/keyboards/handwired/promethium/promethium.h
index 662eeab99..da37e5c56 100644
--- a/keyboards/handwired/promethium/promethium.h
+++ b/keyboards/handwired/promethium/promethium.h
@@ -4,6 +4,11 @@
#include "quantum.h"
#define PS2_INIT_DELAY 2000
+#define UNICODE_TYPE_DELAY 0
+#define BATTERY_PIN 9
+#define BATTERY_POLL 30000
+#define MAX_VOLTAGE 4.2
+#define MIN_VOLTAGE 3.2
#define KEYMAP( \
k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \
@@ -22,6 +27,8 @@
{k47, k48, k49, k4a, k4b, k4c} \
}
+
+
enum led_sequence {
LED_IND_BLUETOOTH,
LED_IND_USB,
@@ -98,4 +105,4 @@ enum led_sequence {
#endif
-
+void battery_poll(uint8_t level); \ No newline at end of file