• Dmitry Torokhov's avatar
    [PATCH] Add black list to handler<->device matching · 35028d96
    Dmitry Torokhov authored
    Input: Introduce an optional blacklist field in input_handler structure.
           When loading a new device or a new handler try to match device
           against handler's black list before doing match on required 
           attributes.
           This allows to get rid of "surprises" in connect functions, IMO
           connect should only fail when it physically can not connect, not
           because it decides it does not like device.
    35028d96
joydev.c 13.7 KB