• Micah Parrish's avatar
    Input: mousedev - handle mice that use absolute coordinates · 6724f934
    Micah Parrish authored
    Devices like the HP Integrated Remote Console Virtual Mouse, which are
    standard equipment on all Proliant and Integrity servers, produce
    absolute coordinates instead of relative coordinates.  This is done to
    synchronize the position of the mouse cursor on the client desktop
    with the mouse cursor position on the server.  Mousedev is not
    designed to pass those absolute events directly to X, but it can
    translate them into relative movements.  It currently does this for
    tablet like devices and touchpads.  This patch merely tells it to also
    include a device with ABS_X, ABS_Y, and mouse buttons in its list of
    devices to process input for.
    
    This patch enables the mouse pointer to move when using the remote
    console.
    Signed-off-by: default avatarMicah Parrish <micah.parrish@hp.com>
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    6724f934
mousedev.c 25.9 KB