init_axes was being called only for cold-plugged input devices. Add a call for hot-plugged ones too so that the min and max fields are filled in correctly when available.
Signed-off-by: Mike Crowe <m...@mcrowe.com> --- src/core/input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/input.c b/src/core/input.c index fe3bc3e..1ab487c 100644 --- a/src/core/input.c +++ b/src/core/input.c @@ -1710,6 +1710,8 @@ dfb_input_create_device(int device_index, CoreDFB *core_in, void *driver_in) "In master, add a new device with dev_id=%d\n", shared->id); + init_axes( device ); + input_add_device( device ); driver->nr_devices++; -- 1.7.10.4 _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev