Skip to content

Commit

Permalink
tools: align the rotation value with 3 digits
Browse files Browse the repository at this point in the history
This is a 0-360 ranged value, so let's print it aligned.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed Sep 27, 2018
1 parent 6ed158f commit 717b57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/libinput-debug-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 717b57b

Please sign in to comment.