Commit 52faa794 authored by Adrien Plazas's avatar Adrien Plazas

mapping: Fix a typo

parent 87a150c6
Pipeline #232499 passed with stages
in 57 seconds
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment