I managed to run the application on an AWESAFE PX9s (== Junsun V1 "pro" / MT 8667 8G Ram + 128Go rom - Alps FF_866x spm8667p1_64) in a 2009 Peugeot 308 MkI. The buttons are not reassignable with the "SWC" application, as they are connected via a G-PSA-RZ-51 CAN box (set to CAN Type = 127).
The buttons are not configurable, and the button I'm interested in switches the HU's modes (FM/Bluetooth etc..).
Edit: *Warning: this makes the built-in FM radio unusable! If you value radio, this won't work for you. Or you'll have to install an IP radio application.
First, I installed AppSwitcher according to the normal installation procedure.
Secondly, following TorstenH's advice, I tried to disable all the options in the system menu: 8888/"Menu Icon"*: to do this, you have to press twice on all the functions that appear on the right so that they move to the list on the left. Once done, press "SAVE".
After rebooting, the MODE button will no longer do anything.
Following TorstenH's advice, I installed and activated logcatreader with the nDealPkey filter by clicking on the magnifying glass. By clicking several times on the button I was looking for, I found that in my case the button of interest gave the value nDealPkey = = 10.
So I entered this value in the "short button press log entry" parameter of AppSwitcher's Log Listener menu, and voilà!
Now all you have to do is configure your favorite settings and applications! For the record, on this unit, the "Automate" autostart also works correctly.
There are, however, few bugs I've encountered:
- Sometimes, when switching to the launcher ("Lauwnchair" in my case), you have to press several times for the window to appear, but the "beep" is heard, and the keystroke is recorded in the logs. Other times, it works right on first attempt. In all other applications, it's fine.
- I installed the latest version and activated the "smart apps" in foreground, but it doesn't seem to work. The only apps that appear are the ones I configure (in my case: Spotify, Maps and the launcher). However, I didn't try to disable everything and leave just "smart apps". Edit: Not a bug, I had misunderstood how it worked.
- The equalizer (or the shortcut to it) doesn't appear in the window after activation and reboot. Edit: Not a bug, I had misunderstood how it worked.
- Sometimes, after saving and rebooting in a system menu (8888/8878), the default navigation engine is reset to "Maps", which then requires reapplication of "AppSwitcherStarter" in the navigation settings after reboot. This may be a default setting made by the mainapp when the parameters were saved. Edit: Not related to AppSwitcher
In any case, thanks again for the application!
For more information, here are the button "nDealPkey" values I've been able to identify for myself:
Mode = 10; Vol + = 19; Vol - = 20; next track = 44; prev track = 45
the button on the windshield washer control (a.k.a onboard display "show", the one that displays consumption information) : "cycle show" = 8