Contains the an array of the last state of every logical button defined in the settings menu. Located at 0x00778d98.
/** * @brief Stores the last key states * Starts at 0x00778d98 */ struct DisaKeyStates { enum Key: int { GeoEffectOnOff = 0, //Tab Btn1 = 1, //? Btn2 = 2, //? Expansion = 3, //Ctrl Up = 4, //W Rright = 5, //D Down = 6, //S Left = 7,//A PreviousPage = 8, //Q NextPage = 9, //E Btn10 = 10, //O Menu = 12, //I Cancel = 13, //L (0x00778da5) Select = 14, //K (0x00778da6) Btn15 = 15, //J }; std::array<unsigned char, 16> states; /** * @brief Will set all keys to 0 * Used so detection don't happen twice */ inline void clear() { states.fill(0); } inline bool isKeyPressed(Key key) { return states[key] == 2; } };
There was an error while loading. Please reload this page.