Board index FlightGear Support Hardware

Thrustmaster TFRP pedals left brake

Joysticks, pedals, monitors.

Thrustmaster TFRP pedals left brake

Postby Fox5 » Wed Jun 30, 2021 7:27 pm

My TFRP pedals are connected to the TWCS throttle. The throttle is connected to the PC via USB.
Flightgear does not react on pressing the brake of the left pedal.
In js_demo.exe Flightgear does not recognise the axis of the left pedal brake.
It looks like the left brake is on axis 8 or 9 but js_demo.exe only sees axis 1 - 7.
Windows10 recognises the leftbrake axis so the hardware and connections are OK.
How can I solve this problem?
Fox5
 
Posts: 1
Joined: Wed Jun 30, 2021 7:00 pm

Re: Thrustmaster TFRP pedals left brake

Postby wkitty42 » Wed Jun 30, 2021 8:10 pm

try plugging the pedals into the PC in another USB socket...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Thrustmaster TFRP pedals left brake

Postby wlbragg » Wed Jun 30, 2021 8:14 pm

I'm having the same issue with my TWCS peddles, Works fine on Linux although they do map to different axis.
Linux reports...
left brake axis 3 right brake axis 4 and rudder axis 6.
Windows reports...
left brake axis 6 and rudder axis 5.

Not sure why a different port would help? Windows is seeing both inputs as well as FG Linux?
But please let us know if that actually works.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Thrustmaster TFRP pedals left brake

Postby wkitty42 » Thu Jul 01, 2021 2:31 pm

wlbragg wrote in Wed Jun 30, 2021 8:14 pm:Not sure why a different port would help? Windows is seeing both inputs as well as FG Linux?

i suggested to split the two devices to two different ports because FG apparently only has room for 8 axis per device... splitting them should result in FG seeing two separate devices and then it should be able to work with both as desired...

aside: granted, the code could be modified/updated to support more axis but that's up to the core team... on the surface, i don't see any problem with splitting the two devices and using them individually instead of chained... other than using another USB port, of course... if lack of USB ports is a problem, one can easily get a USB HUB and add more ports with little effort... the only gotcha there is to get a HUB that properly provides power (if needed and doesn't back flow said power into the system) as well as supporting the USB protocol standards needed... in other words, don't try a USB 2.0 HUB on a USB 3.0 port... some research is needed and don't buy the first cheap USB HUB you find...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Thrustmaster TFRP pedals left brake

Postby wlbragg » Thu Jul 01, 2021 4:43 pm

Ah ok, well for one if the OP controls are the same as mine they only have one connector. The rudder controls are hardwired into TWCS. FG on Linux sees it just fine. I don't think it is a axis availability thing.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Thrustmaster TFRP pedals left brake

Postby wkitty42 » Thu Jul 01, 2021 6:54 pm

i may have misunderstood the OP, then... i thought they were daisy-chaining their pedals into the yoke controller... if they are hardwired into the controller, then the only real option is a code change that increases the number of axis that FG sees and works with... this may be as simple as increasing a number in the code and rebuilding... or it may be a lot more complicated and require numerous code changes in numerous places...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Thrustmaster TFRP pedals left brake

Postby wlbragg » Thu Jul 01, 2021 8:23 pm

the only real option is a code change that increases the number of axis that FG sees and works with

If that is even the problem which I don't think it is. Like I said, Linux and FG recognize it just fine and there are plenty of axis. I think it is a bug in the c code or somewhere else.
That's why I asked the question on the mailing list where that code might be located. Eventually I'll try to track it down and see if I can find the issue. It shouldn't be too difficult to find as the right is working and once you find it in the code you can see how it is supposed to work.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Thrustmaster TFRP pedals left brake

Postby wkitty42 » Thu Jul 01, 2021 8:35 pm

wlbragg wrote in Thu Jul 01, 2021 8:23 pm:
the only real option is a code change that increases the number of axis that FG sees and works with

If that is even the problem which I don't think it is.

i'm only going by what the OP posted... to whit:
Fox5 wrote in Wed Jun 30, 2021 7:27 pm:It looks like the left brake is on axis 8 or 9 but js_demo.exe only sees axis 1 - 7.

that's what prompted me to say "only 8 axis" (me as a coder counting from 0 to 7)...

perhaps there are other controller devices also plugged in on the OP's system that are taking up additional axis and making the pedal axis higher than FG can count?
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Thrustmaster TFRP pedals left brake

Postby wlbragg » Thu Jul 01, 2021 9:52 pm

I see, I didn't catch that. My rudder and brakes appear to be within the 0-7 range. Linux basically backs that up. I am curious what axis their right brake shows up on?
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Thrustmaster TFRP pedals left brake

Postby NCTX » Sun Jul 23, 2023 7:49 pm

Hi all,

Was there any further advice on this issue?

I'm also using Flightgear on Windows 10 (Flightgear 2020.3), with the Thrustmaster T16000M stick and TWCS throttle and pedals. No issues with the stick. Like the OP, the left toe brake isn't detected.

I don't have Flightgear installed on the Linux but did have jstest available. That shows “Joystick (Thrustmaster TWCS Throttle) has 10 axes […]”.
Going through them identifies the axes as
0 front ministick x-axis
1 front ministick y-axis
2 throttle
3 right toe brake
4 left toe brake
5 rocker
6 rudder pedals
7 antenna
8 side d-pad x-axis
9 side d-pad y-axis

On the Windows 10 box, js_demo.exe only detects axes 0-7. Testing show these to be
0 front ministick x-axis
1 front ministick y-axis
2 throttle
3 rocker
4 rudder pedals
5 right toe brake
6 side d-pad x-axis
7 side d-pad y-axis
…so it's the left toe brake and antenna that are missing. As with the missing left toe brake in Flightgear, the antenna control is also unavailable.

I tried a nightly version earlier this month with the same result.

Any suggestions…?

Thanks!
NCTX
 
Posts: 1
Joined: Sun Jul 23, 2023 7:40 pm
Callsign: G-NCTX
OS: Win10/Linux

Re: Thrustmaster TFRP pedals left brake

Postby polly » Wed Jul 26, 2023 11:36 am

This ticket

https://sourceforge.net/p/flightgear/codetickets/2766/

suggests it's a Windows limitation
User avatar
polly
 
Posts: 956
Joined: Thu Nov 04, 2010 3:45 pm


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

cron