Updated hdls example, for controller type handling.

This commit is contained in:
yellows8 2019-06-24 21:56:21 -04:00
parent b957923561
commit 5d34eb6476
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -48,8 +48,8 @@ int main(int argc, char* argv[])
HiddbgHdlsDeviceInfo device = {0}; HiddbgHdlsDeviceInfo device = {0};
HiddbgHdlsState state={0}; HiddbgHdlsState state={0};
// Set the controller type. // Set the controller type to Pro-Controller.
device.type = TYPE_PROCONTROLLER; device.type = BIT(0);
// Set the controller colors. // Set the controller colors.
device.singleColorBody = RGBA8_MAXALPHA(255,255,255); device.singleColorBody = RGBA8_MAXALPHA(255,255,255);
device.singleColorButtons = RGBA8_MAXALPHA(0,0,0); device.singleColorButtons = RGBA8_MAXALPHA(0,0,0);