From 6fab3de48e129e1703f70941f65ae89853e567d5 Mon Sep 17 00:00:00 2001 From: cbdev Date: Wed, 30 Jun 2021 19:45:33 +0200 Subject: Fix spelling --- backends/visca.md | 2 +- backends/wininput.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'backends') 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; } -- cgit v1.2.3