mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
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.
10 lines
214 B
C
10 lines
214 B
C
/* 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
|