mirror of
				https://github.com/Ryujinx/SDL2-CS.git
				synced 2025-11-04 10:34:57 +00:00 
			
		
		
		
	More Haptic fixes... I think...
This commit is contained in:
		
							parent
							
								
									1b692d307d
								
							
						
					
					
						commit
						8876cc0117
					
				
							
								
								
									
										23
									
								
								src/SDL2.cs
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								src/SDL2.cs
									
									
									
									
									
								
							| 
						 | 
					@ -3927,12 +3927,18 @@ namespace SDL2
 | 
				
			||||||
			public ushort button;
 | 
								public ushort button;
 | 
				
			||||||
			public ushort interval;
 | 
								public ushort interval;
 | 
				
			||||||
			// Condition
 | 
								// Condition
 | 
				
			||||||
			public ushort right_sat;
 | 
								[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
 | 
				
			||||||
			public ushort left_sat;
 | 
								public ushort[] right_sat;
 | 
				
			||||||
			public short right_coeff;
 | 
								[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
 | 
				
			||||||
			public short left_coeff;
 | 
								public ushort[] left_sat;
 | 
				
			||||||
			public ushort deadband;
 | 
								[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
 | 
				
			||||||
			public short center;
 | 
								public short[] right_coeff;
 | 
				
			||||||
 | 
								[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
 | 
				
			||||||
 | 
								public short[] left_coeff;
 | 
				
			||||||
 | 
								[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
 | 
				
			||||||
 | 
								public ushort[] deadband;
 | 
				
			||||||
 | 
								[MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
 | 
				
			||||||
 | 
								public short[] center;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[StructLayout(LayoutKind.Sequential)]
 | 
							[StructLayout(LayoutKind.Sequential)]
 | 
				
			||||||
| 
						 | 
					@ -3981,10 +3987,11 @@ namespace SDL2
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[StructLayout(LayoutKind.Sequential)]
 | 
							[StructLayout(LayoutKind.Sequential)]
 | 
				
			||||||
		public unsafe struct SDL_HapticDirection
 | 
							public struct SDL_HapticDirection
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			public byte type;
 | 
								public byte type;
 | 
				
			||||||
			public fixed int dir[3];
 | 
								[MarshalAs(UnmanagedType.ByValArray, SizeConst=3)]
 | 
				
			||||||
 | 
								public int[] dir;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		[StructLayout(LayoutKind.Sequential)]
 | 
							[StructLayout(LayoutKind.Sequential)]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue