-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rotary mode only (no touchscreen) #141
Comments
Big +1! I would like this too! I am a big fan of the rotary commander and of Android Auto, but I hate it that I have to use the touchscreen again and have to wipe the fingerprints regularly! |
The new Mazda OEM Android Auto does not support touchscreen, only supports the commander knob, and it works so well as it allows you to access every part of the UI which we currently can't with this version of AA. +1 for better knob support |
Wow, that sounds really great! I would love to be able to only use the rotary! |
Yeah this is one of those things that having a CMU based configuration UI would really help with since I think it shouldn't be too hard to switch. Speaking of the official AA: I haven't got it yet, but to be honest it's kind of putting a damper on my enthusiasm for hacking on this project more. 🤔 Do other people feel similar? |
Luc my brother you should still be excited about this because you know they are not going to improve on the official version to support touchscreen / HUD / whatever else we can hack up to make it better. Plus it costs $200 hardware upgrade so its now similar to hacking the navigation for those won't want to pay the ridiculous price. Is there a good way to de-compile their binary with IDA or some other way to see how they implement certain things to improve on ours? I'm not that great at that hacking aspect probably because of my amateur C++ skills but I think that would be the best idea to hack our version to be better than the official. Maybe that can get you more enthused. Another thing is I updated my bench-top unit to v70.0021 but without the new hub and I have gotten pretty close to getting our version of AA to run I just cant figure it out because once it gets to "waiting for device to reconnect" it "crashes" with no error or anything signifying what happened. I said "crashes" because the process doesn't actually crash because afterwards headunit is still running but the connection is broken and it kind of keeps trying to reconnect a bunch of times until it gives up so its a puzzler. To get it to run I had to kill both services each for CP and AA like this: |
Thanks for all your effort Trez. I really appreciate it. I can use the AA emulator on my windows 10 computer. The executable file is called 'desktop-head-unit.exe' if i run this the AA screen comes with full touchscreen mode. Not any key from keyboard can be used but if i run the exe file like 'desktop-head-unit.exe -i controller' this time the AA screen work only with keyboard. I don't know much about AA headunit source code but there must be a variable which indicates the car has touchscreen or not. And the headunit works with either touchscreen enabled mode or commander mode. |
OK so can we get one thing clear, when using official AA in the car does the touchscreen not work at all or just when driving? |
It does not work at all. |
Slightly connected to this topic: I am mainly using Waze on AA (unofficial :) ), worked like a charm, but now, I can't select the menu with the joystick where I can choose alternate routes / sound configuration. |
Because it's working in kind of hybrid mode. Another thing is, after the last update they've redesigned the music player. If you are using the touchscreen everything is fine but if you're trying to navigate only using commender buttons good luck! You can't go back to music players main menu from sub-menus. And @Trevelopment another thing i've noticed. Our modified AA runs at 60 fps. Don't know about the official Mazda AA but all of the other cars I've used which has AA runs 30 fps. This 60 fps can also be the reason for sound shuttering and video lagging with AA wi-fi. |
@zahitkara probably you are right... but I didn't upgrade the headunit, nor the AA, so the change could be only in the Waze app. Of course, I can reach that menu with the touchscreen, but that's not what I want during driving :) |
I feel you :) I hate using touchscreen for any reason. It feels dangerous and leaves nasty marks on the screen. |
Well in hu_aap.cpp line 468 we have
is that protocol buffer wrong or something? |
Hey guys, I am very excited to see you looking into "our" AA! One of those things is that I hate the fingerprints when touching the screen, not only because they don't look nice, but also because they made everything less visible if the sun is shining directly on the screen. Unfortunately I can't help you with changing the code, because my knowledge is not appropriate. But I can help you thinking about the things and share my experience when using AA. I also have updated the phone app to version 3.8 and for the first time I have noticed some changes. The other changes are, as said above, some changes in the music player. But I also noticed that navigation with the rotary commander has been changed and it doesn't work that good anymore, so I am forced to use the touchscreen more than I used to.... |
The downloads are available from the Mazda firmware V70. Isn't it possible to get some clues by reverse engineering? |
I figured out the exact opposite of this which is to enable the touchscreen in the official AA but it doesn't help me figure this out at all |
@Trevelopment Hey would you care to share how to do that? |
well I can't test it because I dont have the official AA but I am pretty sure this is how you do it: |
most likely like this:
that's definitely the path, I found it in mazda/outputs.cpp the other 2 im not 100% sure about but if they dont work you can always try FALSE and AAP_TOUCH_SCREEN_TYPE_RESISTIVE |
To get back on topic we should take note that the official AA maps every single android standard keycode from 0 - 271 and then some special AA keycodes that I just found out about from 65536-65543 (Includes the Navigation button finally found that sucker) in its code and I think in order to use the control knob to select from the keyboard we may have to do that as well. Although I could be wrong its just a thought. |
But might this doable? Version 70 of the firmware can be downloaded. Isn't it possible to dig onto that code, or do we first have to install it on a headunit? |
Trevelopment, I tried this change (FALSE and TRUE variables) this morning, details on the Mazda3Revolution forum, but it didn't work. I just noticed your other suggestion of changing capacitive to resistive, but haven't tried that. Do you have any other ideas while I'm in there again? |
OK thats a bummer but if that doesnt work I think they either did not even write touch screen support into the code or disabled it completely in the code to where we cant even turn it back on this way. this is a long shot but you could also try for the path:
you can see the paths to the variables followed by the associated errors to catch but look after the use_internally line there seems to be a hard coded |
Are you guys trying to get touchscreen working in the original version, or getting the AIO AA working like the OEM version (completely with buttons and rotary commander) and getting the OEM layout of Maps? |
Both actually. People using the OEM version wants to use touchscreen while AIO AA people including me wants to use full rotary commander version which show additional buttons on the map and allowing to enter letters using the commander knob. |
Great! |
Is someone still busy with this? |
Nope probably not. |
It would be awesome if we can change the AA mode from touchscreen to controller only. With controller mode you can do everything without touching screen like entering address, zooming in-out, moving maps, cancelling route. This will also helpful to people with touchscreen issues like phantom touches. Here is what i mean:
Touchscreen mode:
https://i.imgur.com/lEngnQx.jpg
https://i.imgur.com/eD3xTpX.jpg
Knob only mode:
https://i.imgur.com/EJFTCNN.jpg
https://i.imgur.com/FfH0nR8.jpg
https://i.imgur.com/L4UtZ8o.jpg
The text was updated successfully, but these errors were encountered: