mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 23:00:42 -07:00
rawinput: fix signed range values (#653)
## Link to GitHub Issue or related Pull Request, if one exists n/a ## Description of change Official GuitarFreaks controller has the motion sensor values with `valuemin=-127` to `valuemax=127` and we don't deal with negative values correctly. ## Testing tbd
This commit is contained in:
@@ -99,7 +99,7 @@ namespace rawinput::touch {
|
||||
|
||||
// check type
|
||||
if (device->type != HID) {
|
||||
log_fatal("rawinput", "touch update called on non HID device");
|
||||
log_warning("rawinput", "touch update called on non HID device");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user