input: support for JammaSD to joystick translation.

This commit is contained in:
sorgelig
2020-04-24 07:50:58 +08:00
parent e666f71d6c
commit ce45d3f2da
4 changed files with 73 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ static const ini_var_t ini_vars[] =
{ "CONTROLLER_INFO", (void*)(&(cfg.controller_info)), UINT8, 0, 10 },
{ "REFRESH_MIN", (void*)(&(cfg.refresh_min)), UINT8, 0, 150 },
{ "REFRESH_MAX", (void*)(&(cfg.refresh_max)), UINT8, 0, 150 },
{ "JAMMASD_VID", (void*)(&(cfg.jammasd_vid)), UINT16, 0, 0xFFFF },
{ "JAMMASD_PID", (void*)(&(cfg.jammasd_pid)), UINT16, 0, 0xFFFF },
};
static const int nvars = (int)(sizeof(ini_vars) / sizeof(ini_var_t));