supertuxkart / stk-code

The code base of supertuxkart
Other
4.53k stars 1.06k forks source link

Android: Numeric keys do not work as controls #5010

Open CM630 opened 9 months ago

CM630 commented 9 months ago

Description

Android: Numeric keys do not work as controls

Steps to reproduce

Test sequence:

  1. In Settings/Controls/Keyboard 0 Set F1 for acceleration Set 1 for decelleration
  2. Start playing
  3. Press F1
  4. Release F1 and start pressing 1

Expected behaviour:
On step 3: The cart accellerates On step 4: The cart decellerates and start moving backwards

Expected behaviour:
On step 3: The cart accellerates (OK). On step 4: Nothing happens - the cart deccelerates slowly and never starts moving backwars (NOK) If F2 is assigned to decelerated, it works as expected.

Configuration

Version 1.4.

Downloaded from F-Droid.

System: Android 10

Graphics card: G31MP2

CPU: Allwinner H313 Quad Core

Gamepads/keyboards models if related to the issue: https://www.aliexpress.com/item/1005004085232177.html or similar.

Additional information

CM630 commented 9 months ago

Some additional info - I tried to assign letters as controls. The letters did not work, but what is odd - the default arrow keeps kept working as left/right/up/down, despite the fact that they were not displayed as controls in the list.