summaryrefslogtreecommitdiff
path: root/Libraries/LibKeyboard
AgeCommit message (Collapse)Author
2020-12-30LibKeyboard: get_char now handles e0 prefix for control keysGal Horowitz
Control keys which have numpad counter-parts have the same scancode except for an e0 prefix. We now return a 0 code_point for those keys.
2020-11-15Everywhere: Add missing <AK/ByteBuffer.h> includesAndreas Kling
All of these files were getting ByteBuffer.h from someone else and then using it. Let's include it explicitly.
2020-08-06Kernel+LibKeyboard: Store the keymap name when setting system keymapValtteri Koskivuori
This way we can query the kernel to see which keymap is currently in use.
2020-08-02LibKeyboard: Don't compile CharacterMap:set_system_map in kernel modeBrian Gianforcaro
In preparation for using Userspace<T> in Syscall::SC_setkeymap_params remove the usage of SC_setkeymap_params from when compiling in kernel mode. In kernel model we would need to do a bunch of explicit FlatPtr cats to in order to get it to compile, and it's unused anyway, so just avoid the pain.
2020-07-04Kernel: Move headers intended for userspace use into Kernel/API/Andreas Kling
2020-06-29LibKeyboard: Don't crash when file is emptyMaciej Zygmanowski
Just return empty map, like when file error occurs.
2020-06-16LibKeyboard: Replace char data type to u32 for code pointHüseyin ASLITÜRK
2020-06-13AK: JsonParser improvementsMatthew Olsson
- Parsing invalid JSON no longer asserts Instead of asserting when coming across malformed JSON, JsonParser::parse now returns an Optional<JsonValue>. - Disallow trailing commas in JSON objects and arrays - No longer parse 'undefined', as that is a purely JS thing - No longer allow non-whitespace after anything consumed by the initial parse() call. Examples of things that were valid and no longer are: - undefineddfz - {"foo": 1}abcd - [1,2,3]4 - JsonObject.for_each_member now iterates in original insertion order
2020-06-13LibKeyboard: Move character map from Kernel to LibKeyboardHüseyin ASLITÜRK
2020-06-03LibKeyboard: Add new library for keyboard applicationsHüseyin ASLITÜRK
Move shared code base from keymap and KeyboardMapper to this library.