[PATCH libevdev 01/13] Axis values must be int, not unsigned int

Peter Hutterer peter.hutterer at who-t.net
Sun Aug 25 16:27:21 PDT 2013


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 libevdev/libevdev-int.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libevdev/libevdev-int.h b/libevdev/libevdev-int.h
index a36be62..8ab20e2 100644
--- a/libevdev/libevdev-int.h
+++ b/libevdev/libevdev-int.h
@@ -90,7 +90,7 @@ struct libevdev {
 	unsigned long snd_bits[NLONGS(SND_CNT)];
 	unsigned long key_values[NLONGS(KEY_CNT)];
 	struct input_absinfo abs_info[ABS_CNT];
-	unsigned int mt_slot_vals[MAX_SLOTS][ABS_MT_CNT];
+	int mt_slot_vals[MAX_SLOTS][ABS_MT_CNT];
 	int num_slots; /**< valid slots in mt_slot_vals */
 	int current_slot;
 	int rep_values[REP_CNT];
-- 
1.8.2.1



More information about the Input-tools mailing list