mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Kernel+LibKeyboard: Enable querying the current keymap
This commit is contained in:
committed by
Andreas Kling
parent
d47ed35801
commit
a2c21a55e1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user