Skip to content

Add 800x480 layout support for RadioMaster TX16S MK3#202

Open
sensei-hacker wants to merge 8 commits intoiNavFlight:masterfrom
sensei-hacker:feature/800x480-tx16s-support
Open

Add 800x480 layout support for RadioMaster TX16S MK3#202
sensei-hacker wants to merge 8 commits intoiNavFlight:masterfrom
sensei-hacker:feature/800x480-tx16s-support

Conversation

@sensei-hacker
Copy link
Copy Markdown
Member

@sensei-hacker sensei-hacker commented Feb 15, 2026

Add new tx16s.lua view file with a native 800x480 layout designed for the Radiomaster TX16S MK3 touchscreen. Key changes:

  • New screen detection: TX16S = LCD_W >= 800 and LCD_H >= 480
  • Full 800x480 HUD with procedural aircraft reference marks (no scaled bitmaps)
  • MIDSIZE text with 1px black outline for HUD speed/altitude/heading readouts
  • Four equal 200px bottom panel columns for gauges and GPS info
  • Touch support: tap cycles config pages, horizontal swipe toggles max values
  • Enlarged text, gauges, and orientation indicators sized for the larger display

Existing 480x272 (Horus) and 480x320 (TX15) layouts are unchanged.

See issue #197 and #201

Image

Add new tx16s.lua view file with a native 800x480 layout designed for
the TX16S MK3 touchscreen. Key changes:

- New screen detection: TX16S = LCD_W >= 800 and LCD_H >= 480
- Full 800x480 HUD with procedural aircraft reference marks (no scaled bitmaps)
- MIDSIZE text with 1px black outline for HUD speed/altitude/heading readouts
- Four equal 200px bottom panel columns for gauges and GPS info
- Touch support: tap cycles config pages, horizontal swipe toggles max values
- Enlarged text, gauges, and orientation indicators sized for the larger display

Existing 480x272 (Horus) and 480x320 (TX15) layouts are unchanged.
Touch improvements in iNav.lua:
- Add drag-to-scroll using slideY accumulation with 40px threshold
  and remainder carry-over for proportional scrolling speed
- Remove swipeUp/swipeDown handlers that conflicted with slideY
  during the same gesture, causing erratic scroll behavior

Documentation updates in Getting-Started.md:
- Add setup instructions for RadioMaster TX16S and other color
  touchscreen radios running EdgeTX v2.11+
- Document App Mode layout requirement (replaces Full screen)
- Note about re-entering app mode after reboot
- Remove reference to non-functional "Restore" widget option
@sensei-hacker
Copy link
Copy Markdown
Member Author

sensei-hacker commented Feb 26, 2026

If you're using this, PLEASE post a comment saying if you have tested it and it works fine for you.

It looks like about a hundred people are currently using it, but we can't get one person to say that here, so it can be merged.

@Jetrell
Copy link
Copy Markdown

Jetrell commented Feb 27, 2026

I'm using it on the mk3 and it's working fine.

The only thing I would add to your last docs change commit.
Is to alter the wording of instruction 2, for exiting the setup menu.
From this -

  • Long press the TN button until the blue EdgeTX icon appears at top left

To this -

  • Long press the RTN button until the blue EdgeTX icon appears at top left. Then push the roll stick fully to the left with the throttle low

When updating to the EdgeTX pre 3.0 nightly's. I've found movement of the roll stick to the left was also required to allow screen toggling again, after the telemetry widgets setup menu was exited.
Assuming this is the direction EdgeTX is moving towards a stable 3.0 release for this radio.

INAV telemetry widget TX16 mk3

@Skuppersixseven
Copy link
Copy Markdown

Ive used this and it seems to work fine on stock tx16s mk3

@dzaro-dev
Copy link
Copy Markdown
Contributor

dzaro-dev commented Mar 3, 2026

I don't think that this is ready to be merged even if it works, the visuals are not adapted very well.

I modifyed the layout for the TX15 and made better use of the vertical space:

image

The same can be done here.

Look at the "y" from battery, it is literally going into the bar at the bottom. These need to be spaced a lot further apart.

Same with the "25mW", it is cut off and the line spacing below those values is not adequate either.

For example, for the TX15 I also made use of the space to add a small "S" for south at the bottom of the compass, which can be done here as well for sure, since there is a lot of space.

My suggesttion: maybe look into the code for the TX15 radio from my PR and try to pull something from that:

#190

I don't have a TX16 MK3 yet, but when I do in the next few months, I can try to have a go at this and get it sorted.

I would aim for something like this (this is just a quick edit in MS Paint):

image

@Jetrell
Copy link
Copy Markdown

Jetrell commented Mar 4, 2026

@dzaro-dev I hadn't picked up on them as such. But I see what you're saying from a point of tidiness.
However I do like the way Sensei has increased the size of the Pilot view box. Compared to the way it is in previous iterations.

@dzaro-dev
Copy link
Copy Markdown
Contributor

@Jetrell Yes, I agree, the scaling of the virtual horizon looks decent.

I would just point out one more thing that also needs to be tidied up - look at these numbers:

Screenshot 2026-03-04 at 15 20 18

They should be in a box that is overlaying the background, like in the original:

Screenshot 2026-03-04 at 15 21 54

And the background of the map is green on the original, here it is blue.
I don't mind personally, but for consistency between devices, it should be the same I think.

After that, it will be perfect!

@sensei-hacker
Copy link
Copy Markdown
Member Author

Thanks for the suggestions @dzaro-dev
I did what was suggested above. You are of course also welcome to do any other improvements you see fit.

IMG_20260305_185837933

@MarioFPVdev
Copy link
Copy Markdown

I’ve tested it today and it seems to be working fine.
Thank you for the contribution 🙏
Cheers mates!😊🍻
image

@Jetrell
Copy link
Copy Markdown

Jetrell commented Mar 15, 2026

@sensei-hacker Sorry to be the winger.
With the addition of Green in the radar box.. Unfortunately that light green is practically the same color light green as the Vario Bar Graph. So you're lucky to see the graph.
Could you please make the box a darker green as in the image below.

iNavHorus

20260316_094645

Also could you please add a white bordered outline around the newly added Speed, Altitude and Heading boxes. As in the first image. This really helps to differentiate them at a glance.

@Jetrell
Copy link
Copy Markdown

Jetrell commented Mar 17, 2026

@sensei-hacker When I was flying I also found another issue.
The Distance descriptor gets overwritten by the figures. And I guess the same might occur with the Altitude too when over 1000 ft.

20260317_170812

@sensei-hacker
Copy link
Copy Markdown
Member Author

Unfortunately that light green is practically the same color light green as the Vario Bar Graph. [ altitude graph ]

Done

The Distance descriptor gets overwritten by the figures

2650.0 kilometers? I think we flew too far, Icarus. But okay, done.

could you please add a white bordered outline around

Okay now you're just being picky. ;)
Also done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants