FolkComputer / folk

🎁 Physical computing system.
https://folk.computer
Apache License 2.0
75 stars 4 forks source link

Alt+Esc restart broken #152

Closed cwervo closed 2 months ago

cwervo commented 3 months ago

148 broke Alt + Esc for restarting the system. Before even if the camera or displays subsystems went down you could restart with the keyboard. Now we have not way to restart besides SSH'ing if the camera goes down.

@s-ol I don't quite get why we don't use a "default" keymap, do you think there's a simple patch that could act as a default?

s-ol commented 3 months ago

@cwervo no good reason, actually initially I wrote it with that kind of default behavior. Later I was refactoring in the direction of "don't even start a process per keyboard until there's a corresponding claim" but then I realized that would break the web preview and was left somewhere in the middle which I agree doesn't make much sense

s-ol commented 2 months ago

this should be fixed now, although I didn't have a chance to test it on a live setup