ui: Support non-zero minimum values for absolute input axes
commit9cfa7ab939f27ffca845ffb9a28c3fa1856c92e7
authorPhilippe Voinov <philippevoinov@gmail.com>
Fri, 5 May 2017 13:39:52 +0000 (5 15:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 11 May 2017 07:42:16 +0000 (11 09:42 +0200)
treeca01d59a8b973d15eccc8521cd480dd98497f680
parent76d20ea0f1b26ebd5da2f5fb2fdf3250cde887bb
ui: Support non-zero minimum values for absolute input axes

This patch refactors ui/input.c to support absolute axis
minimum values other than 0. All dependent calls to qemu_input_queue_abs
have been updated to explicitly supply 0 as the axis minimum value.

Signed-off-by: Philippe Voinov <philippevoinov@gmail.com>
Message-id: 20170505133952.29885-1-philippevoinov@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/virtio-input-hid.c
include/ui/input.h
ui/cocoa.m
ui/gtk.c
ui/input.c
ui/sdl.c
ui/sdl2.c
ui/spice-input.c
ui/vnc.c