Add a constexpr constructor that ensures at compile-time that the source SDLK range matches the target range.
(cherry picked from commit 90029beb49)
# Conflicts:
# src/video/sdl2_v.cpp
# src/video/sdl_v.cpp
pull/679/merge
Peter Nelson2 months agocommitted byJonathan G Rennison