-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Reduce reliance on external libraries / certain upstream packages are unmaintained #85
Comments
Merging with #90. |
Moreover, why can't we completely replace selkies-gstreamer/src/selkies_gstreamer/webrtc_input.py Lines 273 to 277 in 61f6b6c
|
|
I am generally not too happy with dependencies:
|
CC @cruizba |
I think I found a possible way to fix all inconsistencies and errors related to the keyboard, potentially paving the way for the removal of Let me share the backstory of how I arrived to this. Upon further investigation, I realized that certain keysyms which reach this section of In a remote desktop environment, the server is unaware of the client's keyboard. Therefore, modifying the server's keyboard configuration seemed impractical as a solution to me... To explore how other projects handle keyboard input remotely, I looked into Neko. Neko, along with Guacamole keyboard lib in the browser, manages keyboard events from the browser. When the keysym reaches the neko server, they process input data through a set of C functions in The key function of Consequently, I've created The challenge was creating a new addon and compiling the If you're interested in testing it, my branch is fully functional. Simply run vscode with the devcontainer as usual and execute the task |
This is insanely good. @cruizba I would like to merge this ASAP. Could you help with the PR? |
@cruizba |
Sure, I'll try to continue this weekend, I am doing this in my spare time.
Is this specific issue fixed? Did you test it?
I will take a look. I am not a python expert, but I've written some things in the past. But I suppose that this let you write C code with python syntax, am I right? Also, I want to optimize the xorg.c implemenation a little bit. I see that the table of keycodes has a max of 255 keycodes: TigerVNC/tigervnc#93 I think if you change keyboard layouts frequently, the table fills entirely. So I was thinking about having an auxiliary map to save associations and then removing Key Codes just when a key up event arrives, so the table never fills. |
I would like to consult your opinion. https://github.com/cruizba/selkies-gstreamer/tree/fix-inputs/addons/xorg-iface Would it be plausible to integrate this code into a wheel file? Asking because Xpra actively uses Cython. |
I will try to rewrite the essential parts of the keyboard in Cython. I'm pretty sure it is possible to do. |
@ehfd |
Does XKey() exist in Using an external |
selkies-gstreamer/src/selkies_gstreamer/webrtc_input.py Lines 320 to 324 in 9d39f73
|
Hmm. Been there, got scars to prove it. |
No, files present at https://github.com/cruizba/selkies-gstreamer/tree/fix-inputs/addons/xorg-iface are just a simple module using x11 libs, it is not part of the X library. But I can try to rewrite the |
Understood. Thank you all. I will give you the collaborator role in Discord if you tag me. @cruizba |
|
I could really receive help from someone who could update the breaking web interface. Old Vue and Vuetify are breaking a lot of capabilities. Basically a 2019-era antique. Follow web dependencies up in #108. This issue will be focused on backend dependencies. |
11006e3
As specified here, the upstream python-uinput package is not maintained for 6-7 years.Might need a change in theuinput
interface to a project that continues to update, or maintain a selkies-project fork.Moreover, why can't we completely replace
pynput.mouse.Controller()
andpynput.keyboard.Controller()
withXlib.xtest
?Also, we need to update all the dependencies for JavaScript.
The text was updated successfully, but these errors were encountered: