mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:22:45 +00:00 
			
		
		
		
	Kernel: Replace char and u8 data types to u32 for code point
Remove character property from event and add code_point property.
This commit is contained in:
		
							parent
							
								
									1887e35dc8
								
							
						
					
					
						commit
						174987f930
					
				
					 4 changed files with 10 additions and 10 deletions
				
			
		|  | @ -265,7 +265,7 @@ void KeyboardDevice::key_state_changed(u8 scan_code, bool pressed) | |||
|     event.flags = m_modifiers; | ||||
|     event.e0_prefix = m_has_e0_prefix; | ||||
|     event.caps_lock_on = m_caps_lock_on; | ||||
|     event.character = m_character_map.get_char(event); | ||||
|     event.code_point = m_character_map.get_char(event); | ||||
| 
 | ||||
|     if (pressed) | ||||
|         event.flags |= Is_Press; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hüseyin ASLITÜRK
						Hüseyin ASLITÜRK