]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/practice60/hsv2rgb.h
Fix process_combo which assign -1 to uint16_t (#3697)
[qmk_firmware.git] / keyboards / handwired / practice60 / hsv2rgb.h
1 /* hsv2rgb.h
2  * Convert Hue Saturation Value to Red Green Blue
3  *
4  * Programme de convertion d'une information HSV en RGB
5  */
6 #ifndef HSV2RGB_H
7 #define HSV2RGB_H
8
9 typedef struct {
10   unsigned char h;
11   unsigned char s;
12   unsigned char v;
13 } hsv_color;
14
15 typedef struct {
16   unsigned char r;
17   unsigned char g;
18   unsigned char b;
19 } rgb_color;
20
21 rgb_color hsv2rgb(hsv_color hsv);
22
23 #endif