| 5085 | } |
| 5086 | |
| 5087 | olc::Key PixelGameEngine::ConvertKeycode(const int keycode) const |
| 5088 | { |
| 5089 | if (mapKeys.count(size_t(keycode)) > 0) |
| 5090 | { |
| 5091 | return mapKeys.at(keycode); |
| 5092 | } |
| 5093 | |
| 5094 | return olc::Key::NONE; |
| 5095 | } |
| 5096 | |
| 5097 | const std::string PixelGameEngine::GetKeySymbol(const olc::Key pgekey, const bool modShift, const bool modCtrl, const bool modAlt) const |
| 5098 | { |