diff --git a/irr/include/IrrlichtDevice.h b/irr/include/IrrlichtDevice.h index d9c3ba73b1a1c..8bccec6f1737a 100644 --- a/irr/include/IrrlichtDevice.h +++ b/irr/include/IrrlichtDevice.h @@ -344,9 +344,6 @@ class IrrlichtDevice : public virtual IReferenceCounted return video::isDriverSupported(driver); } - // This is a trivial (near-identity) mapping for converting between scancodes and keycodes for devices that do - // not implement this. - #if defined(_IRR_COMPILE_WITH_SDL_DEVICE_) || USE_SDL2 //! Get the scancode of the corresponding keycode. virtual std::variant getScancodeFromKey(const Keycode &key) const {