mirror of
https://github.com/RawAccelOfficial/rawaccel.git
synced 2025-05-11 10:26:58 +02:00
use device id (from device instance) over first hardware id use buffered method for all ioctls update gui/DeviceIDManager to match driver behavior respond to device change events desync MouseData and PointData accessors
13 lines
363 B
C
13 lines
363 B
C
#pragma once
|
|
|
|
#ifdef _KERNEL_MODE
|
|
#include <ntddk.h>
|
|
#else
|
|
#include <winioctl.h>
|
|
#endif
|
|
|
|
#define RA_DEV_TYPE 0x8888u
|
|
|
|
#define RA_READ CTL_CODE(RA_DEV_TYPE, 0x888, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
|
#define RA_WRITE CTL_CODE(RA_DEV_TYPE, 0x889, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
|
#define RA_GET_VERSION CTL_CODE(RA_DEV_TYPE, 0x88a, METHOD_BUFFERED, FILE_ANY_ACCESS)
|