Merge branch 'stable' of https://github.com/tobid7/palladium into stable

This commit is contained in:
2026-03-09 20:47:53 +01:00
13 changed files with 233 additions and 15 deletions

View File

@@ -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);

View File

@@ -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() {