Hello! This finally works perfectly. After our talk on irc, I changed it to use a light event and the swkbd, and it works like a charm.
Unfortunately, couldn't add the ip autodetect, because SO_BROADCAST (used here) doesn't exist, or at least that's what the compilation error said. I'm a noob with sockets, so couldn't fix that.
Let me know if there's anything you don't like in there and if it can be fixed.
I think this feature would be nice to have so people can share homebrew between their consoles (there's also uds that would allow that without needing wifi, but it's really unreliable).
Hello! This finally works perfectly. After our talk on irc, I changed it to use a light event and the swkbd, and it works like a charm.
Unfortunately, couldn't add the ip autodetect, because SO_BROADCAST (used here) doesn't exist, or at least that's what the compilation error said. I'm a noob with sockets, so couldn't fix that.
Let me know if there's anything you don't like in there and if it can be fixed.
I think this feature would be nice to have so people can share homebrew between their consoles (there's also uds that would allow that without needing wifi, but it's really unreliable).