14 lines
732 B
C
14 lines
732 B
C
// Public NTLite input device ABI declarations shared between kernel, drivers, and user mode.
|
|
|
|
#pragma once
|
|
// input_device.h - driver-facing input submission DDI.
|
|
|
|
#include <ntlite/input.h>
|
|
#include <ntlite/status.h>
|
|
|
|
__declspec(dllexport) KSTATUS KeInputRegisterDevice(const char* name, uint32_t flags, uint32_t* outDeviceId);
|
|
__declspec(dllexport) void KeInputSubmitKey(const INPUT_KEY_EVENT* event);
|
|
__declspec(dllexport) void KeInputSubmitMouse(const INPUT_MOUSE_EVENT* event);
|
|
__declspec(dllexport) void KeInputSubmitMouseAbsolute(const INPUT_MOUSE_ABSOLUTE_EVENT* event);
|
|
__declspec(dllexport) void KeInputSubmitMouseAbsoluteScaled(uint32_t rawX, uint32_t rawY, uint32_t maxX, uint32_t maxY, int32_t wheel, uint8_t buttons);
|