1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/xd75
2021-01-20 01:42:07 +00:00
..
keymaps Merge remote-tracking branch 'origin/master' into develop 2021-01-20 01:42:07 +00:00
config.h 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
info.json add info.json for XD75 keyboard (#10523) 2020-10-03 15:43:36 +01:00
readme.md Add XD75am as supported in XD75 readme (#11170) 2020-12-11 23:50:05 +11:00
rules.mk 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
xd75.c 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
xd75.h 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00

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 xd75:default

Flashing example for this keyboard:

make 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