1
0
Fork 0

Add COSPAD to QMK and add functions to read HSV (#2156)

* Added functions to read HSV values

I have added three functions to rgb_light.c to be able to read the hue, saturation and value from other places.
They are rgblight_get_hue(), rgblight_get_sat(), adn rgblight_get_val().

* Create keymap.c

* Add COSPAD support to QMK

I have ported the COSPAD numpad to qmk.

* Update readme.md

* Update cospad.c
This commit is contained in:
kamisamamizu 2017-12-17 17:44:13 +01:00 committed by Jack Humbert
parent d91c9858c5
commit 12e66330c5
8 changed files with 401 additions and 0 deletions

View file

@ -0,0 +1,21 @@
COSPAD
===
A DIY Keypad Kit sold by KPRepublic, runs TKG natively.
Keyboard Maintainer: QMK Community
Hardware Supported: COSPAD
Hardware Availability: https://aliexpress.com/item/cospad-Custom-Mechanical-Keyboard-Kit-up-tp-24-keys-Supports-TKG-TOOLS-Underglow-RGB-PCB-20/32818383873.html
Only supports on and off for the backlight leds, as they are not connected to a PWM pin.
Supported Layouts:
![Numpad Layout of COSPAD](https://i.imgur.com/t03lXJ4.png)
![Ortholinear Layout of COSPAD](https://i.imgur.com/mliUcCc.png)
Make example for this keyboard (after setting up your build environment):
make cospad:default
See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information.