mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Kernel+LibKeyboard: Enable querying the current keymap
This commit is contained in:
parent
d47ed35801
commit
a2c21a55e1
6 changed files with 46 additions and 2 deletions
|
@ -156,6 +156,7 @@ namespace Kernel {
|
|||
S(get_process_name) \
|
||||
S(fchdir) \
|
||||
S(getrandom) \
|
||||
S(getkeymap) \
|
||||
S(setkeymap) \
|
||||
S(clock_gettime) \
|
||||
S(clock_settime) \
|
||||
|
@ -330,6 +331,15 @@ struct SC_setkeymap_params {
|
|||
StringArgument map_name;
|
||||
};
|
||||
|
||||
struct SC_getkeymap_params {
|
||||
u32* map;
|
||||
u32* shift_map;
|
||||
u32* alt_map;
|
||||
u32* altgr_map;
|
||||
u32* shift_altgr_map;
|
||||
MutableBufferArgument<char, size_t> map_name;
|
||||
};
|
||||
|
||||
struct SC_create_thread_params {
|
||||
unsigned int m_detach_state = 0; // JOINABLE or DETACHED
|
||||
int m_schedule_priority = 30; // THREAD_PRIORITY_NORMAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue