new Apple TV4K and remote compatibility issues
Hi, I just built the latest version from git and I noticed that there are issues with the new Apple TV 4k or I should say probably with the new remote.
- When inside a game I am not able to fire the menu with the remote.
- Even when I use a bt controller to fire a remote and click x as I usually did to exit to Mame, it stays inside the game. The only way to go to Mame4ios is to kill it.
Since I imagine not much people already has a new apple tv, if you help me find the point where to look I might be able to take a look at it in debug.
I get a few remotes today, expect a fix tomorrow!!
The old MENU button is now labeled BACK on the new remote.
But I assume it still sends the same button events, sooo BACK should bring up the menu.
I thought the same, but it doesn't seem to be working
Even when I use a bt controller to fire a remote and click x as I usually did to exit to Mame, it stays inside the game. The only way to go to Mame4ios is to kill it.
This is related to something else, not the new remote. I will verify that as well.
correct, but to be honest I can't figure out what it is unless it depends on something introduced recently because I updated from git and did a new build
I just tried the new remote, works fine (as I expected MENU and BACK are same button)
I am running PR #327 (with MAME 139).
I will go give master a quick try.
Yup master (and 139) works fine....
What exact problem are you seeing?
I am on a TV gen 4 with new remote, maybe your problems needs the new TV gen 6???
If it is easy try my PR #327, it has some fixes for the TV. (But nothing to change how the remote works...)
Any are you using MAME 231? Or 139?
Even when I use a bt controller to fire a remote and click x as I usually did to exit to Mame, it stays inside the game. The only way to go to Mame4ios is to kill it.
Yes please run PR #327, this is one of the things I fixed (after I broke it....) the exit procedure is slightly changes to support newMAME.
Yup new remote works just fine on Apple TV Gen 4, but on brand new Gen 6? (Or 4K Gen 2) TV it does not work!!
Debugging now.
I see in the stack trace Apple is calling a function with the word legacy.....Hmmmm
Yup I see the problem, deprecated apis stop working, who knew!
Strange that it only happens on the Gen 6, I am running latest tvOS on my gen 4, and new remote works great.
I know how to fix, but we were keeping the old code around for MFi devices, so I will need to test on my MFi and Xbox and 8BitDo, etc...
I have a steelseries and of course the new remote. Let me know if I can help debugging in some way
Strange only fails when connected to a 4K HDR display!
On my test 1080p LCD, remote works!
Thanks @superandrew i will let you know when I do a push, I just don't want to break MFi controllers, cuz the code I need to change is in the MFi path...
@superandrew I did I push to my PR, minimal change to not use the old skool pausedHandler on tvOS 14....
Strange I re-connect to my 4K, and now the Nimbus does not work, and I don't just mean in M4i the Nimbus does not work system wide at all, it connects just fine but does not work to drive the tvOS UX....???
Time to reboot tvOS...
Reboot, no change Nimbus connects and don't work.
Unpair and re-pair, now works fine. Go fig'er
I thought it was me... I have to reconnect the nimbus from scratch everytime with this Apple TV otherwise it connects but it doesn't work
PR #327 has a fix for this
@ToddLa I thought it was at system level, the nimbus seemed not to work even with standard ATV menus
The change was needed to fix the apple remote, but also effects the Nimbus path, so I wanted to test with a Numbus that is why this issue talks about Nimbus.
This was fixed in #327