Luna/kernel/include/misc/Scancodes.h

6 lines
252 B
C
Raw Normal View History

2022-10-19 17:42:05 +00:00
#pragma once
// This should only be used for a keyboard TTY interface. Userspace should translate keyboard scancodes by themselves.
char translate_scancode(unsigned char scancode, bool* ignore);
bool scancode_filter_released(unsigned char* scancode);