[PATCH evemu 1/5] Align the resolution with the other values

Peter Hutterer peter.hutterer at who-t.net
Thu Oct 20 23:11:11 UTC 2016


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/evemu.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/evemu.c b/src/evemu.c
index 2ef0367..df1393b 100644
--- a/src/evemu.c
+++ b/src/evemu.c
@@ -332,12 +332,13 @@ static void write_desc(const struct evemu_device *dev, FILE *fp)
 				    j, libevdev_event_code_get_name(i, j));
 			switch(i) {
 				case EV_ABS:
-					fprintf(fp, "#       Value %6d\n"
-						"#       Min   %6d\n"
-						"#       Max   %6d\n"
-						"#       Fuzz  %6d\n"
-						"#       Flat  %6d\n"
-						"#       Resolution %d\n",
+					fprintf(fp,
+						"#       Value   %6d\n"
+						"#       Min     %6d\n"
+						"#       Max     %6d\n"
+						"#       Fuzz    %6d\n"
+						"#       Flat    %6d\n"
+						"#       Resolution %3d\n",
 						evemu_get_abs_current_value(dev, j),
 						evemu_get_abs_minimum(dev, j),
 						evemu_get_abs_maximum(dev,j),
-- 
2.9.3



More information about the Input-tools mailing list