-
-
Notifications
You must be signed in to change notification settings - Fork 477
Unix mode OSD #6405
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
Unix mode OSD #6405
Conversation
…d draw to main blit loop
removed a reference to my fork
|
AltGr + anything is always a bad idea because that's how you type diacritics. On Latvian keyboard, AltGr + G (G is where W is on US keyboard) = Ģ, on Macedonian keyboard, AltGr + G = Г and so on. |
good point, didn't know at all. |
|
I suppose the best approach would be making this configurable via global config. |
|
Please fix build errors in the CI. I suggest Alt+AltGr+G from a personal POV. |
Almost done. is this ok for you ? |
|
Considering that the goal is an unescapable 86Box kiosk mode, this should ideally be some keystroke that's unlikely to be used by guest software. This pretty much leaves ordinary keystrokes like Alt+G or Ctrl+F11 out of the question. |
found one nobody will never hit even by mistake: |
|
It appears CodeQL has found several problems with the code. |
Summary
this PR addresses a rarely used use case: running 86box on the linux framebuffer without QT and without X
running it that way is already supported but when doing it 86box loses all menu and all abilities to mount floppies and CDs, it also becomes the owner of the entire pc with no way of quitting it or changing virtual console.
I've added an on screen display menu that allows doing everything the textual console (src/unix/unix.c) does;
mount/unmount floppy,cd,...
hard reset the machine
quit 86box
seeing the current perf %
key bindings:
ALTGR-G opens the osd, it should not conflict with existing key combos, I hope
while is open:
arrows up, down moves the cursor
enter does the action, in mount it enters a list of appropriate files (*.img, *.iso)
ESC goes back to main or closes the OSD
among other things I had to implement touchpad support to be able to use the emulated Win on my laptop without X
this was tested on a debian VM running on my main pc, on a Core-i7 8550U laptop and on a Raspberry Pi 4
attached is a photo of the OSD open running on the RPI
Checklist
References
nothing special