Skip to content
  • Anssi Hannula's avatar
    Input: implement new force feedback interface · 509ca1a9
    Anssi Hannula authored
    
    
    Implement a new force feedback interface, in which all non-driver-specific
    operations are separated to a common module. This includes handling effect
    type validations, locking, etc.
    
    The effects are now file descriptor specific instead of the previous strange
    half-process half-fd specific behaviour. The effect memory of devices is not
    emptied if the root user opens and closes the device while another user is
    using effects. This is a minor change and most likely no force feedback
    aware programs are affected by this negatively.
    
    Otherwise the userspace interface is left unaltered.
    
    Signed-off-by: default avatarAnssi Hannula <anssi.hannula@gmail.com>
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    509ca1a9