-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Gamecube had a keyboard controller, a full size keyboard between the two sides of a gamecube controller, and it would be nice to duplicate that on SD with a software keyboard. I had some conversations with AI yesterday and tried to vibe code it, but it would keep sending code that causes errors.
Core Keyboard is on flathub/discover, and can be launched along side the VH app. Here's the current code I have for that:
#!/bin/bash
# Launch VirtualHere inside konsole first (background so it doesn't block)
konsole --notransparency --hold -e sudo /home/deck/Documents/virtualhere/vhusbdx86_64 &
KON_PID=$!
# Let it initialize
sleep 2
# Launch on-screen keyboard (Flatpak CoreKeyboard) last
flatpak run org.cubocore.CoreKeyboard &
CORE_PID=$!
# Wait for Ctrl+C to kill both
trap 'kill $KON_PID $CORE_PID; exit' INT
while true; do sleep 1; done
It launches VH, and then the keyboard, which I can use to type CTLR-C to quit, which closes the connection, but doesn't return the controls to the SD.
What I would like is:
A full screen keyboard with function keys and modifiers like ALT, shift, CTRL-- have all the software keys sent to the remote computer through virtual here, or I'd be open to another connection method, but since VH is already being used it seems simple.
As far as I found in my investigations, there's no way to make Corekeyboard full screen or even any bigger that it is, (because it's a QT app, perhaps) Being that this project already requires us to make the deck OS writable, we aren't limited to keyboards in the discover store. I heard about a KB called Onboard and Florance that might go full screen.
This would take the SD PC controller from kind of a gimmick to actually being better than anything else, cause of the full keyboard.