Set the detail field for DeviceKeyEvents to the keycode.
This commit is contained in:
		
							parent
							
								
									1f97a76476
								
							
						
					
					
						commit
						0c33dc152e
					
				| 
						 | 
				
			
			@ -452,6 +452,7 @@ GetKeyboardValuatorEvents(EventList *events, DeviceIntPtr pDev, int type,
 | 
			
		|||
    kbp = (deviceKeyButtonPointer *) events->event;
 | 
			
		||||
    kbp->time = ms;
 | 
			
		||||
    kbp->deviceid = pDev->id;
 | 
			
		||||
    kbp->detail = key_code;
 | 
			
		||||
    if (type == KeyPress)
 | 
			
		||||
        kbp->type = DeviceKeyPress;
 | 
			
		||||
    else if (type == KeyRelease)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue