tools: zero-pad PID/VID in the dpi tool

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-12-05 14:17:27 +10:00
parent 6ce23c6d79
commit 9923b06e71

View file

@ -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%04x:name:%s:\n"
" MOUSE_DPI=XXX@%d\n",
bustype(libevdev_get_id_bustype(dev)),
libevdev_get_id_vendor(dev),