• Joseph Hwang's avatar
    Add grab flag · 7f8bfdf0
    Joseph Hwang authored
    If the --grab flag is given in capture mode, evtest keeps an EVIOCGRAB
    on the device. While this grab is active, other processes will not
    receive events from the kernel devices. The grab is released again
    when evtest quits.
    
    TEST=Check that the cursor is frozen when --grab option is specified.
    $ evtest --grab
    Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    7f8bfdf0