-
-
Notifications
You must be signed in to change notification settings - Fork 352
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
Customizable Extra-Keys #19
Conversation
@agnostic-apollo here we go again.... |
From a quick look, you need to pass the Note that event listener expects events and key codes, so you will need to convert the code point sent with Also note that the |
@suhan-paradkar, @wmcb-tech have I understood correctly that you renamed T:X11 in T:Wayland and the PR from your private repos were made up there? As long as com.termux.x11 is unchangen, it's never a problem for me.
Both together reduces the screen in landscape by about 10-15%. The covering of the EK is not solved (was better in Twaik's version) and the again-switching-on (1st prereference) is not possible retrospectively (only exit+restart of XClients) can you repeat this?
That's good! _Device name? Have you ever tried in addition to Termux and T:X11/Wayland also to use VNC? |
Oppo A12 not rooted
Yes.. ofcourse.. I started to continue development here as I felt that VNC is very clunky......
Well.. that is what is being implemented here... Although the goal is to use the same set of Extra-keys as defined in |
d460b26
to
c6511a4
Compare
I got lost for your device and was surprised that you can use Pop View (PiP see second 10 to 18 in the Video). In this mode, the Picture/Pop-View with EK-X (T:X11) can be moved up from the lower overlap area (at least Nav bar - see shot below) and remains visible with OS-KB. The Move Events of the first 3 seconds and KB events (if one of the two windows is selected) also works in this case, as well as any change of the T:X11 size - not in your PiP. Do you possibly have an additional app, which allow you repeat the PiP behavior from the Video (should be possible with all Android-11 devices)? On my Gigaset (Android 9) neither Split nor PiP works, but floating OS-KB and AVD works like my Huawei. |
You can use Taskbar app on android 7+ to launch freeform mode to make apps into resizable windows, like on desktop, its similar to PiP. |
52b0ead
to
0988ad7
Compare
Use And no need for temporary variable here and can just create a function that converts |
Thanks👍👍 |
Sorry, |
Well.. we have a new problem.... The Extra-keys are now not being displayed at all.... |
Thanks @agnostic-apollo for the Taskbar hint and back naming in T:X11. I've the Taskbar-App checked and can confirm that for some apps Floating Pictures are possible. T:X11 and VNC (expected) are not part of it and Termux is very limited. A behavior as in the Video is therefore not available. The task bar is displaceable to the four corners, but almost always covers important control areas - see Shot1. This is my Gigaset with the smallest screen, without Split/PiP from Android. With tap on T:X11 all other apps and OS-KB disappear, EK-X is covered by task bar and the Fluxbox task bar is covered by EK-X. I tried to work on an AVD pad with Taskbar-App, but this completely failed. Although T:X11 is floating in Shot2, but only because I have ceased the short moment in which the flickering screen indicated it. Conclusion: This PiP function is unsuitable on all devices. On small devices is Split (if possible) is a good alternative but Toggle-EK in any case. PiP on my SM-P610 is a brilliant and very stable Android function. So again @suhan-paradkar:How did you repeat the video behavior on your Oppo A12 (only "three fingers split" according to Google)? Ps last artifact ist increased from 7Mb to 10 Mb but not suitable for further EK-X-checks? |
Well.. pressing the home button or recents will put the app in PIP mode amd I had no trouble with that.. Note that you can't perform any " screen clicks" at this moment...
That's because termux-shared library is added. |
With Taskbar App it is already possible - but with the restrictions described above and of course on my Samsung device.
I did not understand. Screen Size for T:X11 and presentation of the EK-Line initially have nothing to do with the (shared) symbols in it! The show EK-X Choice is now missing in the Preferences and the top range (formerly fullscreen choice) is still unavailable. |
I am not speaking on C++ Shared libraries.. I mentioned |
I'm aware! I meant the missing EK-X Line, which is initially a graphic area between Nav-Bar or non-floating KB and X11. EK-X11.mp4For illustration, a small video of my SM-P610 in which both Apps in Picture can be seen and the OS-KB is turned on twice. |
About PIP mode: I think it is not applicable in all cases. Maybe we can implement mode like this one: Screen_Recording_20210830-224616_Nova.Launcher.mp4I do not think it will require a lot of work. |
I'll consider that... Will try once this Pull Request is merged...
How?? Your Image clearly shows it... |
It is, but its only using |
Yes.. the rest are other depenencies... |
I think I will be adding ViewPager here itself instead of messing up the view layouts |
be9c418
to
7960cd7
Compare
@suhan-paradkar I had asked you above a few questions. Can you please give a short (yes/no/in progress) answer? One more: OTS=OneTouchStart with VNC is more stable than with X11 because PID2 start can be retrofitted (also different Viewer Apps simultaneously), without repeating the PID3=Xvnc + PID4 start. Could the behavior (do not kill PID3=Xwayland with PID2) at X11 are also achieved? |
Its still a work in progress
Yes.. I've noticed.. the init process is quite buggy
As of now.. yes...
Actually.. right now, we can't... The goal is to support 3rd party apps to support x11 output through this app...
I guess we can.... |
For now, use https://github.com/agnostic-apollo/termux-app/tree/temp-extrakeys Will push it to |
These are good news :) I hope the next version for check contains again the lost functions: RS ( |
@suhan-paradkar What is your end goal here? The |
@agnostic-apollo You mean something like this?
|
Typo
You should also use camel case convention. And non-public class instance variables should ideally start with https://source.android.com/setup/contribute/code-style#follow-field-naming-conventions |
This will make use of `termux-shared` jitpack library
I hope this will not mess up with views like last time
This reverts commit a1ad9ec.
Closing as mentioned in https://github.com/termux/termux-x11/discussions/46#discussioncomment-3089408 |
No description provided.