Working on it

This commit is contained in:
2020-04-18 18:14:51 +10:00
commit a3b19da551
236 changed files with 16300 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
namespace CarbonInput {
public class ControllerInstance {
public CarbonController Controller;
public int Index;
public ControllerInstance(CarbonController controller, int index) {
Controller = controller;
Index = index + 1;
}
public bool GetButton(CButton button) {
return Controller.GetButton(button, Index);
}
public float GetAxis(CAxis axis) {
return Controller.GetAxis(axis, Index);
}
}
}