Mercurial > repos > blastem
diff controller_info.h @ 2317:e836cf11783b
Make deadzones configurable and bump up the default value
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 02 Apr 2023 23:21:39 -0700 |
parents | dd9d43c67986 |
children |
line wrap: on
line diff
--- a/controller_info.h Sun Apr 02 23:21:04 2023 -0700 +++ b/controller_info.h Sun Apr 02 23:21:39 2023 -0700 @@ -39,6 +39,8 @@ typedef struct { char const *name; + int16_t stick_deadzone; + int16_t trigger_deadzone; uint8_t type; uint8_t subtype; uint8_t variant; @@ -54,4 +56,4 @@ char *make_controller_type_key(controller_info *info); char *make_human_readable_type_name(controller_info *info); -#endif //CONTROLLER_INFO_H_ \ No newline at end of file +#endif //CONTROLLER_INFO_H_