feat: Added wiimote support and cleaned up the project
This commit is contained in:
		
							parent
							
								
									36574bdf46
								
							
						
					
					
						commit
						baf15cdb0f
					
				
					 25 changed files with 263 additions and 69 deletions
				
			
		
							
								
								
									
										10
									
								
								Win32Api/InputUnion.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Win32Api/InputUnion.cs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
using System.Runtime.InteropServices;
 | 
			
		||||
 | 
			
		||||
namespace Win32Api;
 | 
			
		||||
 | 
			
		||||
[StructLayout(LayoutKind.Explicit)]
 | 
			
		||||
public struct InputUnion {
 | 
			
		||||
	[FieldOffset(0)] public MouseInput mi;
 | 
			
		||||
	[FieldOffset(0)] public KeyboardInput ki;
 | 
			
		||||
	[FieldOffset(0)] public HardwareInput hi;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue