[libmanette] mapping: Fix a typo
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libmanette] mapping: Fix a typo
- Date: Sun, 22 Nov 2020 08:23:17 +0000 (UTC)
commit 1a348123b19f9140915db354b8311d94d9c9db95
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Nov 21 09:19:28 2020 +0100
mapping: Fix a typo
src/manette-mapping.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/manette-mapping.c b/src/manette-mapping.c
index 1de26eb..80e8e91 100644
--- a/src/manette-mapping.c
+++ b/src/manette-mapping.c
@@ -238,7 +238,7 @@ parse_mapping_hat (gchar *start,
// hat0x, hat0y, hat1x, hat1y…
*index = hat_index * 2 + (hat_position + 1) % 2;
- // left or up: negative, right or down: position.
+ // left or up: negative, right or down: positive.
*range = ((hat_position + 1) % 4) < 2 ? MANETTE_MAPPING_RANGE_NEGATIVE :
MANETTE_MAPPING_RANGE_POSITIVE;
*invert = *range == MANETTE_MAPPING_RANGE_NEGATIVE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]