mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	Kernel+LibKeyboard: Store the keymap name when setting system keymap
This way we can query the kernel to see which keymap is currently in use.
This commit is contained in:
		
							parent
							
								
									8dd0c391e9
								
							
						
					
					
						commit
						00a0e525e6
					
				
					 6 changed files with 32 additions and 6 deletions
				
			
		|  | @ -51,7 +51,9 @@ public: | |||
|     KeyboardDevice(); | ||||
| 
 | ||||
|     void set_client(KeyboardClient* client) { m_client = client; } | ||||
|     void set_maps(Keyboard::CharacterMapData character_map); | ||||
|     void set_maps(const Keyboard::CharacterMapData& character_map, const String& character_map_name); | ||||
| 
 | ||||
|     const String keymap_name() { return m_character_map.character_map_name(); } | ||||
| 
 | ||||
|     // ^CharacterDevice
 | ||||
|     virtual KResultOr<size_t> read(FileDescription&, size_t, u8*, size_t) override; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Valtteri Koskivuori
						Valtteri Koskivuori