Skip to content

Commit

Permalink
Better mapping description for 360 devices
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatsJustCheesy committed Sep 18, 2024
1 parent b4a0c08 commit 5d23d1f
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion VirtualController/Public/VCTDeviceXbox360.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,25 @@ typedef struct {
NSPoint leftStick;
NSPoint rightStick;
struct { CGFloat left, right; } triggers;
// A, B, X, Y, LB, RB, LS, RS, Menu, Share, nothing?, Up, Down, Left, Right, nothing?

// 0: A
// 1: B
// 2: X
// 3: Y
// 4: LB
// 5: RB
// 6: LS
// 7: RS
// 8: Start
// 9: Back
// A: nothing?
// B: Up
// C: Down
// D: Left
// E: Right
// F: nothing?
//
// https://gamepadviewer.net/custom-skin/xbox-360
struct { BOOL pressed : 1; } buttons[16];
} VCTDeviceStateXbox360;

Expand Down

0 comments on commit 5d23d1f

Please sign in to comment.