Prerequisite Checklist
Describe your issue here
I built attract-mode by Andrew Mickelson using sfml library 2.6.x with DRM support. It works fine but whenever I exit attract-mode and go back to console I cannot type. The only thing I can do is ctrl+alt+F2 to switch to a new console session. When AM is launched Raspberry PI backend of SFML API is blocking the console temporarily so it does not show random characters in the console. At exiting AM+ SFML should restore console input.
Your Environment
- Raspberry OS version 12 (Bookworm 64 bit) / labwc wayland compositor on Raspberry PI 5.
- SFML version: 2.6.2
- Compiler / toolchain: CMake
- Special compiler / CMake flags: -DSFML_DRM=1
Steps to reproduce
- start attract-mode from console (no window-manager) by typing attract
- launch a game from attract mode, for instance mame
- exit the emulator with hotkey
- exit attract-mode
- type something on the console
Expected behavior
going back to console I expect to type as always.
Actual behavior
The keyboard does not work. Anyway, it is possible to switch to a new session by pressing ctrl+alt+F2
Prerequisite Checklist
Describe your issue here
I built attract-mode by Andrew Mickelson using sfml library 2.6.x with DRM support. It works fine but whenever I exit attract-mode and go back to console I cannot type. The only thing I can do is ctrl+alt+F2 to switch to a new console session. When AM is launched Raspberry PI backend of SFML API is blocking the console temporarily so it does not show random characters in the console. At exiting AM+ SFML should restore console input.
Your Environment
Steps to reproduce
Expected behavior
going back to console I expect to type as always.
Actual behavior
The keyboard does not work. Anyway, it is possible to switch to a new session by pressing ctrl+alt+F2