mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 05:12:40 +02:00
Updated hdls example, for controller type handling.
This commit is contained in:
parent
b957923561
commit
5d34eb6476
@ -48,8 +48,8 @@ int main(int argc, char* argv[])
|
||||
HiddbgHdlsDeviceInfo device = {0};
|
||||
HiddbgHdlsState state={0};
|
||||
|
||||
// Set the controller type.
|
||||
device.type = TYPE_PROCONTROLLER;
|
||||
// Set the controller type to Pro-Controller.
|
||||
device.type = BIT(0);
|
||||
// Set the controller colors.
|
||||
device.singleColorBody = RGBA8_MAXALPHA(255,255,255);
|
||||
device.singleColorButtons = RGBA8_MAXALPHA(0,0,0);
|
||||
|
Loading…
Reference in New Issue
Block a user