diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-15 05:17:45 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-15 05:17:45 +0000 |
commit | abe28425faba6c3c729886859be030d098a92df8 (patch) | |
tree | 37a10b6a3a2b1fe9b179fa8a7a3363202f2e4f64 /hid_linux.c | |
parent | 742e122ef16d2538803a3d40596ca9bd4b3f2112 (diff) |
prepping for release, fixed a couple very minor bugs
svn path=/trunk/externals/hcs/hid/; revision=2276
Diffstat (limited to 'hid_linux.c')
-rw-r--r-- | hid_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
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] : "?") : "?"); |