forked from Dniel97/segatools
d4nin3u
37c26ecadb
This commit basically copy-pastes the last commits from https://dev.s-ul.net/VeroxZik/segatools/-/commits/master to add OpenITHM LED support. Doesn't need to edit segatools.ini because the relevant config lines are already there for some reason. Tested with my OpenITHM controller and behaves exactly like the other fork. Reviewed-on: Dniel97/segatools#26 Co-authored-by: d4nin3u <d4nin3u@gmail.com> Co-committed-by: d4nin3u <d4nin3u@gmail.com>
16 lines
328 B
C
16 lines
328 B
C
/*
|
|
Serial LED implementation for chuniio
|
|
|
|
Credits:
|
|
somewhatlurker, skogaby
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include "chuniio/leddata.h"
|
|
|
|
HRESULT led_serial_init(wchar_t led_com[12], DWORD baud);
|
|
void led_serial_update(struct _chuni_led_data_buf_t* data);
|
|
void led_serial_update_openithm(const byte* rgb); |