mirror of
				https://git.wownero.com/dsc/openvr.git
				synced 2024-08-15 01:03:30 +00:00 
			
		
		
		
	This structure was originally defined mis-packed on Linux, preserved for compatibility.
This commit is contained in:
		
							parent
							
								
									f6804a7c09
								
							
						
					
					
						commit
						8709a410dc
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -2202,6 +2202,11 @@ typedef struct VRControllerAxis_t | |||
| 	float y; | ||||
| } VRControllerAxis_t; | ||||
| 
 | ||||
| #if defined(__linux__) || defined(__APPLE__) | ||||
| // This structure was originally defined mis-packed on Linux, preserved for
 | ||||
| // compatibility.
 | ||||
| #pragma pack( push, 4 ) | ||||
| #endif | ||||
| typedef struct VRControllerState_t | ||||
| { | ||||
| 	uint32_t unPacketNum; | ||||
|  | @ -2209,6 +2214,9 @@ typedef struct VRControllerState_t | |||
| 	uint64_t ulButtonTouched; | ||||
| 	struct VRControllerAxis_t rAxis[5]; //struct vr::VRControllerAxis_t[5]
 | ||||
| } VRControllerState_t; | ||||
| #if defined(__linux__) || defined(__APPLE__) | ||||
| #pragma pack( pop ) | ||||
| #endif | ||||
| 
 | ||||
| typedef struct CameraVideoStreamFrameHeader_t | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue