In the past, I had the ModDX++ script working with 120 DX buttons. Due to problems with Windows, I had to delete it and start again. I have Warthog Throttle & Joystick and TFRP T.Flight Rudder. As before, I have added the "modules/ModDX++.tmh" to the "target.tmh" ,but when I press "compile", I get the following error...
Compile Error:Symbol not found: CREATE_JOYSTICK in modules/ModDX++.tmh at line 172
My ModDX++.tmh file around line 172 looks like this...
166 // The maximum possible DX button count is fixed by the driver to 120, any
167 // greater value results in an immediate Windows BSOD.
168 // Any value greater than 120 for 'n' parameter will be automatically clamped to
169 // 120 to prevent crash.
170 //
171
172 int InitMoreDX(int n, alias h, int cfg=CREATE_JOYSTICK+CREATE_KEYBOARD+CREATE_MOUSE)
173 {
174 // clamp value to 120, more than 120 cause a BSOD due to software limitation
175 if(n > 120) n = 120;
I am not a coder and unfamiliar with the terminology. I would be very grateful for any help how to fix this problem.
Regards,
OWL282820