From abe28425faba6c3c729886859be030d098a92df8 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 15 Nov 2004 05:17:45 +0000 Subject: prepping for release, fixed a couple very minor bugs svn path=/trunk/externals/hcs/hid/; revision=2276 --- hid_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hid_linux.c') diff --git a/hid_linux.c b/hid_linux.c index eb1613a..74b80cc 100644 --- a/hid_linux.c +++ b/hid_linux.c @@ -222,7 +222,7 @@ t_int hid_open_device(t_hid *x, t_int device_number) ioctl(x->x_fd, EVIOCGBIT(event_type, KEY_MAX), bitmask[event_type]); post(""); - post(" TYPE\t\tCODE\tEVENT NAME"); + post(" TYPE\tCODE\tEVENT NAME"); post("-----------------------------------------------------------"); /* cycle through all possible event codes (axes, keys, etc.) @@ -236,7 +236,7 @@ t_int hid_open_device(t_hid *x, t_int device_number) { char hid_code[7]; hid_convert_linux_buttons_to_numbers(event_code,hid_code); - post(" %s\t\t%s\t%s", + post(" %s\t%s\t%s", ev[event_type] ? ev[event_type] : "?", hid_code, event_names[event_type] ? (event_names[event_type][event_code] ? event_names[event_type][event_code] : "?") : "?"); -- cgit v1.2.1