Skip to content
  • Gerd Hoffmann's avatar
    edd85a3d
    input: mouse: switch legacy handlers to new core · edd85a3d
    Gerd Hoffmann authored
    
    
    legacy mouse event handlers are registered in the new core,
    so they receive events submitted to the new input core.
    
    legacy kbd_mouse_event() continues to use the old code paths.
    So new-core event handlers wouldn't see events submitted via
    kbd_mouse_event.
    
    This leads to the constrain that we we must transition all
    kbd_mouse_event() users first to keep things working.  But
    that is easier to handle than translating legacy mouse events
    into new-core mouse events ;)
    
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    edd85a3d
    input: mouse: switch legacy handlers to new core
    Gerd Hoffmann authored
    
    
    legacy mouse event handlers are registered in the new core,
    so they receive events submitted to the new input core.
    
    legacy kbd_mouse_event() continues to use the old code paths.
    So new-core event handlers wouldn't see events submitted via
    kbd_mouse_event.
    
    This leads to the constrain that we we must transition all
    kbd_mouse_event() users first to keep things working.  But
    that is easier to handle than translating legacy mouse events
    into new-core mouse events ;)
    
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Loading