aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/promethium/promethium.h
diff options
context:
space:
mode:
authorGravatar Stanley Lai <stanleylai.sg@gmail.com>2017-02-13 12:36:22 -0800
committerGravatar Stanley Lai <stanleylai.sg@gmail.com>2017-02-13 12:36:22 -0800
commita8eba1bddaf55224939a86bfa4d8e1b53e1d82db (patch)
tree906568677ed027a807d5e9c0c1bc1c2ae001f0f6 /keyboards/handwired/promethium/promethium.h
parent53ea854462c0b3b2c3c58a36b714ac02f773c74f (diff)
parentfd2925efbac0d7963f3d267dd5264f08a0a4e9dc (diff)
downloadqmk_firmware-a8eba1bddaf55224939a86bfa4d8e1b53e1d82db.tar.gz
Merge remote-tracking branch 'refs/remotes/qmk/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