Skip to content

Keyboard not typing when I exit attract-mode #3631

Description

@marcomto

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

  1. start attract-mode from console (no window-manager) by typing attract
  2. launch a game from attract mode, for instance mame
  3. exit the emulator with hotkey
  4. exit attract-mode
  5. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions