From 5d34eb6476c02fa1dfffd81ad6bf3e55f55f29b5 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Mon, 24 Jun 2019 21:56:21 -0400 Subject: [PATCH] Updated hdls example, for controller type handling. --- hid/hdls/source/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hid/hdls/source/main.c b/hid/hdls/source/main.c index 039621b..fa5103c 100644 --- a/hid/hdls/source/main.c +++ b/hid/hdls/source/main.c @@ -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);