Return correct key code for delete/backspace on android.

Also increased minimum Android API version to 14.
This commit is contained in:
Maximilian Wagenbach 2018-01-29 22:35:04 +01:00 committed by Lukas Dürrenberger
parent 66369645b5
commit 186294607f
4 changed files with 7 additions and 6 deletions

View file

@ -104,8 +104,8 @@ endif()
# Android options
if(SFML_OS_ANDROID)
# make sure there's the android library available
if (CMAKE_ANDROID_API LESS 9)
message(FATAL_ERROR "Android API level (${CMAKE_ANDROID_API}) must be equal or greater than 9.")
if (CMAKE_ANDROID_API LESS 14)
message(FATAL_ERROR "Android API level (${CMAKE_ANDROID_API}) must be equal or greater than 14.")
endif()
# CMake doesn't support defining the STL to be used with Nsight Tegra, so warn the user