Skip to content

laptop accelerometer disturbs SDL and frozen-bubble #224

Open
@dod38fr

Description

@dod38fr

Hello

In Debian bug 664546 ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=++664546 ), user is complaining that hiscore screen is displayed for only 1 second or so on his laptop.

Turns out that some (all ?) hp laptop have an embedded accelerometer to protect the disks in case of mechanical shock. This accelerometer is handled by joydev kernel module and is seen as a joystick by frozen-bubble.

This device is constantly sending key events to sdl loop. This triggers the issue with the highscrore screen

Currently, the only work-around I've found it to remove the joydev kernel module.

I guess that frozen-bubble should have an option to ignore the joystick or (and ?) have dedicated code to ignore accelerometer type joysticks.

Hope this helps

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