cosmopolitan/libc/nt/user32/GetRawInputData.S
Bach Le baad1df71d
Add several NT functions (#1318)
With these addtions, I could build and run a
[sokol](https://github.com/floooh/sokol) application (using OpenGL) on
both Linux and Windows.
2024-10-27 21:10:32 -07:00

18 lines
321 B
ArmAsm

#include "libc/nt/codegen.h"
.imp user32,__imp_GetRawInputData,GetRawInputData
.text.windows
.ftrace1
GetRawInputData:
.ftrace2
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
mov __imp_GetRawInputData(%rip),%rax
jmp __sysv2nt6
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn GetRawInputData,globl
.previous