qmk-firmware/keyboards/xiudi/xd75
Ryan 18dc851e37
Remove legacy Debug keycode (#18769)
* `DEBUG` -> `DB_TOGG`, default-ish keymaps

* `DEBUG` -> `DB_TOGG`, user keymaps

* `DEBUG` -> `DB_TOGG`, community layouts

* `DEBUG` -> `DB_TOGG`, userspace

* `DEBUG` -> `DB_TOGG`, docs & core
2022-10-19 11:33:05 +01:00
..
keymaps Remove legacy Debug keycode (#18769) 2022-10-19 11:33:05 +01:00
config.h Remove RGBLIGHT_ANIMATION and clean up effect defines for R-Z (#18728) 2022-10-15 09:55:53 -07:00
info.json Move keyboard USB IDs and strings to data driven: X (#17925) 2022-08-06 18:45:43 +10:00
readme.md Update readme files (#14172) 2021-08-26 16:53:24 +01:00
rules.mk Tidy up NKRO_ENABLE rules (#15382) 2021-12-09 16:05:44 +11:00
xd75.c
xd75.h

XD75

XD75

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!

Make example for this keyboard (after setting up your build environment):

make xiudi/xd75:default

Flashing example for this keyboard:

make xiudi/xd75:default:flash

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.

LED Control

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.

TODO: it would be nice to have PWM support on these LEDs for fade-in/fade-out effects.

capslock_led_on();
gp100_led_on();
gp103_led_on();

bool led_update_user(led_t led_state) {
    if (led_state.caps_lock) {
        capslock_led_on();
    } else {
        capslock_led_off();
    }

    if (some_custom_state) {
      gp100_led_on();
    } else {
      gp100_led_off();
    }

    return false;
}

For the curious:

CAPSLOCK_LED    B2
GP103_LED       F4
GP100_LED       F7