Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Android sends Delete event instead of Backspace  (Read 1564 times)

0 Members and 1 Guest are viewing this topic.


  • Sr. Member
  • ****
  • Posts: 486
    • View Profile
    • TGUI
    • Email
Android sends Delete event instead of Backspace
« on: October 22, 2017, 11:37:21 am »
SFML maps the AKEYCODE_DEL event to Keyboard::Delete (WindowImplAndroid.cpp#L623) while this is actually the backspace key. The real delete key is AKEYCODE_FORWARD_DEL.

Is this a bug or was there a reason to do this? I find it strange that I just worked around this in my code when I encountered it a few years ago. Maybe I saw this post back then and though that it would be fixed, but it looks like it was forgotten.


  • SFML Team
  • Hero Member
  • *****
  • Posts: 10278
    • View Profile
    • development blog
    • Email
Re: Android sends Delete event instead of Backspace
« Reply #1 on: October 22, 2017, 02:32:33 pm »
Feel free to open an issue, that way Mario won't forget it, once he gets around working on SFML... ::)
Also link to that forum post in the issue, maybe there's more to extract.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/