aboutsummaryrefslogtreecommitdiff
path: root/hwdef-blf-gt-mini.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-10-26 07:11:46 -0600
committerSelene ToyKeeper2023-10-26 07:11:46 -0600
commitbe7c2ec510ca74b4f435684746039b42801724b3 (patch)
tree962736ef0bd461dd37d97dfdb2556760ca5db857 /hwdef-blf-gt-mini.h
parentimproved blf-lt1 ramp and fixed issue with missed button presses (diff)
downloadanduril-be7c2ec510ca74b4f435684746039b42801724b3.tar.gz
anduril-be7c2ec510ca74b4f435684746039b42801724b3.tar.bz2
anduril-be7c2ec510ca74b4f435684746039b42801724b3.zip
converted blf-gt-mini to new API
Diffstat (limited to 'hwdef-blf-gt-mini.h')
-rw-r--r--hwdef-blf-gt-mini.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/hwdef-blf-gt-mini.h b/hwdef-blf-gt-mini.h
new file mode 100644
index 0000000..f4a4d7b
--- /dev/null
+++ b/hwdef-blf-gt-mini.h
@@ -0,0 +1,14 @@
+// BLF/Lumintop GT Mini driver layout
+// Copyright (C) 2018-2023 Selene ToyKeeper
+// SPDX-License-Identifier: GPL-3.0-or-later
+#pragma once
+
+// exactly the same as a D1S, but with a lighted button
+// (which is the same hwdef as a D4)
+#include "hwdef-emisar-d4.h"
+
+// lighted button
+#ifndef AUXLED_PIN
+#define AUXLED_PIN PB4 // pin 3
+#endif
+