logind: add support for hidraw devices
Add support for opening /dev/hidraw devices via logind's TakeDevice(). Same semantics as our support for evdev devices, but it requires the HIDIOCREVOKE ioctl in the kernel.
This commit is contained in:
committed by
Luca Boccassi
parent
16b50d4018
commit
305272ab2b
@@ -0,0 +1,9 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
#pragma once
|
||||
|
||||
#include <linux/hidraw.h>
|
||||
|
||||
/* b31c9d9dc343146b9f4ce67b4eee748c49296e99 (6.12) */
|
||||
#ifndef HIDIOCREVOKE
|
||||
#define HIDIOCREVOKE _IOW('H', 0x0D, int)
|
||||
#endif
|
||||
Reference in New Issue
Block a user