diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/visca.md | 2 | ||||
-rw-r--r-- | backends/wininput.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/visca.md b/backends/visca.md index 7b1bcc3..d10eb95 100644 --- a/backends/visca.md +++ b/backends/visca.md @@ -51,7 +51,7 @@ control.stick_x > visca.move.x control.stick_y > visca.move.y ``` -#### Compatability list +#### Compatibility list | Manufacturer | Exact model(s) tested | Compatible models | Result / Notes | |---------------|-------------------------------|-----------------------------------------------|-------------------------------------------------------| diff --git a/backends/wininput.c b/backends/wininput.c index 1d1c85b..fc07328 100644 --- a/backends/wininput.c +++ b/backends/wininput.c @@ -111,11 +111,11 @@ static int request_comparator(const void * raw_a, const void * raw_b){ //joysticks need to be sorted by controller id first so we can query them once if(a->ident.fields.type == joystick){ - //joystick id is in the upper bits of control and we dont actually care about anything else + //joystick id is in the upper bits of control and we don't actually care about anything else return a->ident.fields.control - b->ident.fields.control; } - //the rest doesnt actually need to be sorted at all + //the rest doesn't actually need to be sorted at all return 0; } |