css-linux-cheat/include/cstrike/Interfaces/IInputSystem.h

12 lines
232 B
C
Raw Normal View History

#pragma once
enum ButtonCode_t;
class IInputSystem {
public:
bool IsButtonDown(ButtonCode_t button) {
return GetVirtualFunction<bool(*)(void*, ButtonCode_t)>(this, 11)(this, button);
}
};
extern IInputSystem* inputsystem;