summaryrefslogtreecommitdiff
path: root/keyboards/gh60
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gh60')
-rw-r--r--keyboards/gh60/gh60.c28
-rw-r--r--keyboards/gh60/gh60revc.jpgbin1424987 -> 0 bytes
-rw-r--r--keyboards/gh60/keymaps/robotmaxtron/WS2812-wiring.jpgbin1038926 -> 0 bytes
-rw-r--r--keyboards/gh60/keymaps/robotmaxtron/readme.md2
-rw-r--r--keyboards/gh60/keymaps/unxmaal/README.md2
-rw-r--r--keyboards/gh60/keymaps/unxmaal/WS2812-wiring.jpgbin1038926 -> 0 bytes
-rw-r--r--keyboards/gh60/readme.md2
7 files changed, 25 insertions, 9 deletions
diff --git a/keyboards/gh60/gh60.c b/keyboards/gh60/gh60.c
index f5a158e12f..441c799fa3 100644
--- a/keyboards/gh60/gh60.c
+++ b/keyboards/gh60/gh60.c
@@ -1,25 +1,39 @@
#include "gh60.h"
+
+extern inline void gh60_caps_led_on(void);
+extern inline void gh60_poker_leds_on(void);
+extern inline void gh60_fn_led_on(void);
+extern inline void gh60_esc_led_on(void);
+extern inline void gh60_wasd_leds_on(void);
+
+extern inline void gh60_caps_led_off(void);
+extern inline void gh60_poker_leds_off(void);
+extern inline void gh60_fn_led_off(void);
+extern inline void gh60_esc_led_off(void);
+extern inline void gh60_wasd_leds_off(void);
+
+
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
-
+
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
gh60_caps_led_on();
} else {
- gh60_caps_led_off();
+ gh60_caps_led_off();
}
-
+
// if (usb_led & (1<<USB_LED_NUM_LOCK)) {
// gh60_esc_led_on();
// } else {
- // gh60_esc_led_off();
+ // gh60_esc_led_off();
// }
-
+
// if (usb_led & (1<<USB_LED_SCROLL_LOCK)) {
// gh60_fn_led_on();
// } else {
- // gh60_fn_led_off();
+ // gh60_fn_led_off();
// }
- led_set_user(usb_led);
+ led_set_user(usb_led);
}
diff --git a/keyboards/gh60/gh60revc.jpg b/keyboards/gh60/gh60revc.jpg
deleted file mode 100644
index 6c88ad2442..0000000000
--- a/keyboards/gh60/gh60revc.jpg
+++ /dev/null
Binary files differ
diff --git a/keyboards/gh60/keymaps/robotmaxtron/WS2812-wiring.jpg b/keyboards/gh60/keymaps/robotmaxtron/WS2812-wiring.jpg
deleted file mode 100644
index 4ab8cc31ac..0000000000
--- a/keyboards/gh60/keymaps/robotmaxtron/WS2812-wiring.jpg
+++ /dev/null
Binary files differ
diff --git a/keyboards/gh60/keymaps/robotmaxtron/readme.md b/keyboards/gh60/keymaps/robotmaxtron/readme.md
index 3e22925008..8db7b3f65b 100644
--- a/keyboards/gh60/keymaps/robotmaxtron/readme.md
+++ b/keyboards/gh60/keymaps/robotmaxtron/readme.md
@@ -10,7 +10,7 @@ For the full Quantum feature list, see the parent readme.md.
* Neopixel/WS2812 RGB Underglow Support
## Reference Images
-![Wiring Refererence] (WS2812-wiring.jpg)
+![Wiring Refererence](https://i.imgur.com/BkJ39JD.jpg)
### Additional Credits
Keymap has been based on various keymaps available from the QMK Repo for the GH60-SATAN and KC60 keyboards.
diff --git a/keyboards/gh60/keymaps/unxmaal/README.md b/keyboards/gh60/keymaps/unxmaal/README.md
index 52bf97ef4f..6c08bbb100 100644
--- a/keyboards/gh60/keymaps/unxmaal/README.md
+++ b/keyboards/gh60/keymaps/unxmaal/README.md
@@ -18,3 +18,5 @@ For the full Quantum feature list, see the parent readme.md.
### Additional Credits
Keymap has been based on various keymaps available from the QMK Repo for the GH60-SATAN and KC60 keyboards.
+
+![wiring](https://i.imgur.com/8b8T1fQ.jpg) \ No newline at end of file
diff --git a/keyboards/gh60/keymaps/unxmaal/WS2812-wiring.jpg b/keyboards/gh60/keymaps/unxmaal/WS2812-wiring.jpg
deleted file mode 100644
index 4ab8cc31ac..0000000000
--- a/keyboards/gh60/keymaps/unxmaal/WS2812-wiring.jpg
+++ /dev/null
Binary files differ
diff --git a/keyboards/gh60/readme.md b/keyboards/gh60/readme.md
index 8c744bfd3c..bbb0b6e19c 100644
--- a/keyboards/gh60/readme.md
+++ b/keyboards/gh60/readme.md
@@ -1,6 +1,6 @@
## gh60 Rev C keyboard firmware
-![gh60 Rev C PCB](gh60revc.jpg)
+![gh60 Rev C PCB](https://i.imgur.com/FejpoNF.jpg)
/* Column pin configuration
* col: 0 1 2 3 4 5 6 7 8 9 10 11 12 13