projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed158f
)
tools: align the rotation value with 3 digits
author
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 14 Sep 2018 04:27:35 +0000
(14:27 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 27 Sep 2018 00:27:19 +0000
(10:27 +1000)
This is a 0-360 ranged value, so let's print it aligned.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-debug-events.c
patch
|
blob
|
history
diff --git
a/tools/libinput-debug-events.c
b/tools/libinput-debug-events.c
index
a264d1d
..
87c3169
100644
(file)
--- a/
tools/libinput-debug-events.c
+++ b/
tools/libinput-debug-events.c
@@
-398,7
+398,7
@@
print_tablet_axes(struct libinput_event_tablet_tool *t)
if (libinput_tablet_tool_has_rotation(tool)) {
rotation = libinput_event_tablet_tool_get_rotation(t);
- printq("\trotation: %.2f%s",
+ printq("\trotation: %
6
.2f%s",
rotation, changed_sym(t, rotation));
}