File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ _Controller = record
102102 DllHandle: HMODULE;
103103 GetHMDData: function(out myHMD: THMD): DWORD; stdcall;
104104 GetControllersData: function(out myController, myController2: TController): DWORD; stdcall;
105- SetControllerData: function (dwIndex: integer; MotorSpeed: dword ): DWORD; stdcall;
105+ SetControllerData: function (dwIndex: integer; MotorSpeed: word ): DWORD; stdcall;
106106 SetCentering: function (dwIndex: integer): DWORD; stdcall;
107107
108108implementation
@@ -247,8 +247,8 @@ procedure TMain.Button1Click(Sender: TObject);
247247
248248procedure TMain.Button2Click (Sender: TObject);
249249begin
250- SetControllerData(IDController, 12599 );
251- SetControllerData(IDController2, 42517 );
250+ SetControllerData(IDController, 65535 );
251+ SetControllerData(IDController2, 32761 );
252252end ;
253253
254254end .
You can’t perform that action at this time.
0 commit comments