Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
Android sends Delete event instead of Backspace
Print
Pages: [
1
]
Author
Topic: Android sends Delete event instead of Backspace (Read 2933 times)
0 Members and 1 Guest are viewing this topic.
texus
Hero Member
Posts: 505
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.
Logged
TGUI
: C++ SFML GUI
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
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.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
Android sends Delete event instead of Backspace
anything