Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
y5nw committed Feb 3, 2025
1 parent a7a3454 commit 2c7a441
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/client/keycode.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ class KeyPress
irr::EKEY_CODE getKeycode() const;
wchar_t getKeychar() const;

//TODO: drop this once we fully switch to SDL
u32 getScancode() const
{
#if USE_SDL2
if (auto pv = std::get_if<u32>(&scancode))
return *pv;
#endif
return 0;
}

Expand Down

0 comments on commit 2c7a441

Please sign in to comment.