projects
/
platform
/
upstream
/
libevdev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce23c6
)
tools: zero-pad PID/VID in the dpi tool
author
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 5 Dec 2014 04:17:27 +0000
(14:17 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 5 Dec 2014 04:17:27 +0000
(14:17 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/mouse-dpi-tool.c
patch
|
blob
|
history
diff --git
a/tools/mouse-dpi-tool.c
b/tools/mouse-dpi-tool.c
index d9c96c814dc1737ff6b761ad031e2bba7b059e20..2bbaca553d9f7bc40a41aaa37b3037263eb55299 100644
(file)
--- a/
tools/mouse-dpi-tool.c
+++ b/
tools/mouse-dpi-tool.c
@@
-248,7
+248,7
@@
main (int argc, char **argv) {
printf("\n");
printf("Entry for hwdb match (replace XXX with the resolution in DPI):\n"
- "mouse:%s:v%
4xp%
4x:name:%s:\n"
+ "mouse:%s:v%
04xp%0
4x:name:%s:\n"
" MOUSE_DPI=XXX@%d\n",
bustype(libevdev_get_id_bustype(dev)),
libevdev_get_id_vendor(dev),