Skip to content

Commit

Permalink
Merge pull request #619 from matlo/dev-xone-2015-s-controllers
Browse files Browse the repository at this point in the history
Add support for xbox one controller 2015 and xbox one s controller.
  • Loading branch information
Mathieu Laurendeau committed Apr 14, 2019
2 parents cb44734 + 861f757 commit c03fe3f
Show file tree
Hide file tree
Showing 9 changed files with 559 additions and 357 deletions.
6 changes: 6 additions & 0 deletions core/args.c
Expand Up @@ -155,6 +155,7 @@ int args_read(int argc, char *argv[], s_gimx_params* params)
{"debug.macros", no_argument, &params->debug.macros, 1},
{"debug.sixaxis", no_argument, &params->debug.sixaxis, 1},
{"debug.config", no_argument, &params->debug.config, 1},
{"debug.usb_con", no_argument, &params->debug.usb_con, 1},
{"debug.gimxhid", no_argument, &params->debug.gimxhid, 1},
{"debug.gimxinput", no_argument, &params->debug.gimxinput, 1},
{"debug.gimxpoll", no_argument, &params->debug.gimxpoll, 1},
Expand Down Expand Up @@ -478,6 +479,11 @@ int args_read(int argc, char *argv[], s_gimx_params* params)
log_info();
}

if (gimx_params.debug.controller)
{
gimx_params.status = 1;
}

int i;
for (i = 0; long_options[i].name != NULL; ++i)
{
Expand Down

0 comments on commit c03fe3f

Please sign in to comment.