Merge branch 'stable' of https://github.com/tobid7/palladium into stable
This commit is contained in:
@@ -24,7 +24,9 @@ SOFTWARE.
|
||||
#include <pd/drivers/hid.hpp>
|
||||
|
||||
namespace PD {
|
||||
PD_API bool HidDriver::IsEvent(Event e, Key keys) { return KeyEvents[0][e] & keys; }
|
||||
PD_API bool HidDriver::IsEvent(Event e, Key keys) {
|
||||
return KeyEvents[0][e] & keys;
|
||||
}
|
||||
|
||||
PD_API bool HidDriver::IsEvent(Event e, KbKey keys) {
|
||||
return KbKeyEvents[0][e].Has(keys);
|
||||
|
||||
@@ -34,7 +34,9 @@ PD_API TT::Res::Ref& OsDriver::GetTraceRef(const std::string& id) {
|
||||
|
||||
PD_API TraceMap& OsDriver::GetTraceMap() { return pTraces; }
|
||||
|
||||
PD_API bool OsDriver::TraceExist(const std::string& id) { return pTraces.count(id); }
|
||||
PD_API bool OsDriver::TraceExist(const std::string& id) {
|
||||
return pTraces.count(id);
|
||||
}
|
||||
|
||||
/** Standart Driver */
|
||||
PD_API u64 OsDriver::GetTime() {
|
||||
|
||||
Reference in New Issue
Block a user