Save scancode inside GdkEventPrivate
Windows save in hardware_keycode an information which is not so low level and some application require the hardware scancode. As Windows provides this information save it in GdkEventPrivate and provide a function to get this information. For no Windows system the function return the hardware_keycode instead. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=765259
This commit is contained in:
		 Frediano Ziglio
					Frediano Ziglio
				
			
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			 Matthias Clasen
						Matthias Clasen
					
				
			
						parent
						
							c081ca2d4c
						
					
				
				
					commit
					cf14fea5a8
				
			| @ -1451,6 +1451,9 @@ GDK_AVAILABLE_IN_3_22 | ||||
| void           gdk_event_set_device_tool (GdkEvent       *event, | ||||
|                                           GdkDeviceTool  *tool); | ||||
|  | ||||
| GDK_AVAILABLE_IN_3_22 | ||||
| int            gdk_event_get_scancode    (GdkEvent *event); | ||||
|  | ||||
| G_END_DECLS | ||||
|  | ||||
| #endif /* __GDK_EVENTS_H__ */ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user