Open frotna opened 3 years ago
Hi. In meantime i found a way to do all TouchMapper Launcher thing from device itself - on shieldTV (no need for PC)... To do that one need to do next:
Enter these commands:
to copy mapper.json file Cp /sdcard/example.json /storage/self/primary/Android/data/es.shyri.touchmapper/files/mapping.json
to find "path" of app pm path es.shyri.touchmapper
to start server sh -c "CLASSPATH=/data/app/"path" /system/bin/app_process32 /system/bin es.shyri.touchmapper.Main" … in my case … sh -c "CLASSPATH=/data/app/es.shyri.touchmapper-rKMJDRhSwfsbfdgCGhAkWQ==/base.apk /system/bin/app_process32 /system/bin es.shyri.touchmapper.Main"
For stoping server click&hold mouse in RemoteADB shell app end select exit connection...
Hi @frotna I'm very glad you managed to make it work.
Regarding how to map the right stick, I guess you'll need to use axis_z
and axis_rz
instead of axis_x
and axis_y
. Something like this:
{
"type": "CIRCLE",
"radius": 70,
"x": 160,
"y": 700,
"axis_z": 0,
"axis_rz": 1,
"action": "move"
}
Let me know if that works
Really cool you found a way to use it without a computer. The project is open to PRs, if you want to include your run method into the readme please feel free to file a PR for it. I no longer work on this but I'm open to review whatever other people want to include, it could be modifying the instructions, or screenshots, modifications to code itself, or even mapping configurations for specific games that could be useful for other people.
Hi. Unfortunately it doesn't work. Left analog stick is still controlling movement but only diagonal, from left-top to right-bottom position, can't even get circular movement... When i use touchmapper gamepad test option i get this: Axis_x (0) Axis_z (11) Axis_y (1) Axis_rz (14) If a use axis_z (11) and axis_rz(14) it's the same as you suggested, left analog is in control but only diagonal movement left-top to right-bottom. { "type": "CIRCLE", "radius": 70, "x": 160, "y": 700, "axis_z": 11, "axis_rz": 14, "action": "move" }
Any other suggestion?
Hi. Can you help me with this a bit more... Thank you...
Hi. I successfully activate app and everything work on my ShieldTV, but can't figure out how to map right analog stick. There is only examples for left analog stick. Can you help a bit? Thank you