Adding gaming touchscreen support#330
Adding gaming touchscreen support#330VFXNO wants to merge 2 commits intoClassicOldSong:moonlight-noirfrom
Conversation
| <item>6</item> | ||
| <item>5</item> |
There was a problem hiding this comment.
There's no need for a separate file, please move all the contents to strings.xml
There was a problem hiding this comment.
Logs too much as input events are pretty frequent, if done debugging you can comment out the logs or delete them.
| conn.sendControllerInput((short)getActionIndex(), (short)1, 0, | ||
| (byte)0, (byte)0, | ||
| (short)0, (short)0, // Left stick zeroed | ||
| stickX, stickY); // Right stick only |
There was a problem hiding this comment.
Although it should work in good network conditions, but controller packets are not buffered, that means if you're on mobile data or far away from home, it can behave strange.
No good way to solve this though...
There was a problem hiding this comment.
I could add buffer but it will feel strange and not responsive i think we should accept it this way
For strings.xml i gonna try to fix it later
|
Hi, any updates? |
|
Upon looking at the code more carefully, I think we should just make the touch controller mode a mouse emulation mode instead of a checkbox. Also, please avoid editing the line ending so there won't be a huge whole file diff. |
hey broTill when will this feature come? .............I’m eagerly waiting for it |
|
if you really need it i can send you compiled apk version or you you compile it by yourself go to my branch download it then use androidstudio to compile it |
Can you send me the APK brother I’m not a developer I don’t know how to do all this please brother Brother have you tested the app how’s the experience Will I get an experience like in this video? |
|
pretty good honstly as i devolped it i made sure it not looks uncanny its like playin on android yes the same as the video |
Can you share the apk Link brother. I don't know how to compile code and Andriod studio Upload on drive and share the link |
|
app-nonRoot_game-debug.zip |
thanks for apk |
I was struggling with using the right analog stick for camera movement, so I implemented a new touchscreen mode that works like native Android games. You can now drag anywhere on the screen to control the camera. To enable it, just switch to touchscreen to stick in touschscreen mode settings.
note : iam still new for pulling request pls check it before merging it the project works fine i may missed to upload files
enable the touchpad to right stick option
other touch screen mode will not work if this option still toggled on