mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
Syscall: Changed 'setkeymap' to take also the Shift+AltGr map.
This commit is contained in:
parent
41c4ce3c58
commit
ca9e0a70f5
2 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,8 @@ int Process::sys$setkeymap(Userspace<const Syscall::SC_setkeymap_params*> user_p
|
|||
return -EFAULT;
|
||||
if (!copy_from_user(character_map_data.altgr_map, params.altgr_map, CHAR_MAP_SIZE * sizeof(u32)))
|
||||
return -EFAULT;
|
||||
if (!copy_from_user(character_map_data.shift_altgr_map, params.shift_altgr_map, CHAR_MAP_SIZE * sizeof(u32)))
|
||||
return -EFAULT;
|
||||
|
||||
auto map_name = get_syscall_path_argument(params.map_name);
|
||||
if (map_name.is_error()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue