aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2021-06-30 19:45:33 +0200
committercbdev <cb@cbcdn.com>2021-06-30 19:45:33 +0200
commit6fab3de48e129e1703f70941f65ae89853e567d5 (patch)
tree31e351212277976f1b6619d244f1100bda63d199 /backends
parent48880cb18dded1d95d52aec5bae55ff31dcf2ad5 (diff)
downloadmidimonster-6fab3de48e129e1703f70941f65ae89853e567d5.tar.gz
midimonster-6fab3de48e129e1703f70941f65ae89853e567d5.tar.bz2
midimonster-6fab3de48e129e1703f70941f65ae89853e567d5.zip
Fix spelling
Diffstat (limited to 'backends')
-rw-r--r--backends/visca.md2
-rw-r--r--backends/wininput.c4
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;
}