2019-03-17 10:04:50 -07:00
# XD75
2017-07-29 13:22:09 -07:00
2019-03-17 10:04:50 -07:00
![XD75 ](https://cdn.shopify.com/s/files/1/2711/4238/products/HTB1MzOISXXXXXXgXpXXq6xXFXXXO_1024x1024.jpg )
2017-07-29 15:56:54 -07:00
2020-12-11 04:50:05 -08:00
The XD75 is a 15x5 full-grid ortholinear keyboard manufactured by XIUDI. Available in two different versions: XD75Re with hot swap switch sockets and XD75Am with Alps+MX Stem support that needs soldering.
This port of the QMK firmware is my first shot at using QMK, so if you see any features done wrong (or just plain missing), feel free to fix them and put in a pull request!
2017-07-29 13:22:09 -07:00
2020-11-28 12:02:18 -08:00
* Keyboard Maintainer: [The QMK Community ](https://github.com/qmk )
2020-12-11 04:50:05 -08:00
* Hardware Supported: XD75Re, XD75Am
2020-11-28 12:02:18 -08:00
* Hardware Availability: [KPrepublic ](https://kprepublic.com/products/xd75re-xd75am-xd75-xiudi-60-custom-keyboard-pcb ), [AliExpress ](https://www.aliexpress.com/item/xd75re-Custom-Mechanical-Keyboard-75-keys-TKG-TOOLS-Underglow-RGB-PCB-GH60-60-programmed-gh60-kle/32818745981.html )
2017-07-29 13:22:09 -07:00
2019-03-17 10:04:50 -07:00
Make example for this keyboard (after setting up your build environment):
2017-07-29 13:22:09 -07:00
2021-08-26 08:53:24 -07:00
make xiudi/xd75:default
2017-07-29 13:22:09 -07:00
2020-11-28 12:02:18 -08:00
Flashing example for this keyboard:
2017-07-29 13:22:09 -07:00
2021-08-26 08:53:24 -07:00
make xiudi/xd75:default:flash
2017-09-14 11:02:49 -07:00
2019-03-17 10:04:50 -07:00
See the [build environment setup ](https://docs.qmk.fm/#/getting_started_build_tools ) and the [make instructions ](https://docs.qmk.fm/#/getting_started_make_guide ) for more information. Brand new to QMK? Start with our [Complete Newbs Guide ](https://docs.qmk.fm/#/newbs ).
2017-09-14 11:02:49 -07:00
2020-11-28 12:02:18 -08:00
## LED Control
2017-07-29 13:22:09 -07:00
2020-11-28 12:02:18 -08:00
There are 3 individual LEDs that can be turned on and off. The functions are named according to how they're labeled on the PCB.
2017-12-03 07:21:10 -08:00
TODO: it would be nice to have PWM support on these LEDs for fade-in/fade-out effects.
```c
capslock_led_on();
gp100_led_on();
gp103_led_on();
2020-11-28 12:02:18 -08:00
bool led_update_user(led_t led_state) {
if (led_state.caps_lock) {
2017-12-03 07:21:10 -08:00
capslock_led_on();
} else {
capslock_led_off();
}
if (some_custom_state) {
gp100_led_on();
2020-11-28 12:02:18 -08:00
} else {
2017-12-03 07:21:10 -08:00
gp100_led_off();
}
2020-11-28 12:02:18 -08:00
return false;
2017-12-03 07:21:10 -08:00
}
```
For the curious:
```
CAPSLOCK_LED B2
GP103_LED F4
GP100_LED F7
```