mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-20 14:59:12 +00:00
Lots of Windows fixes; add D3D12; more boo decoupling
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
#include <boo/IWindow.hpp>
|
||||
#include "Input/CKeyboardMouseController.hpp"
|
||||
|
||||
namespace metaforce {
|
||||
struct CFinalInput;
|
||||
@@ -126,12 +126,12 @@ constexpr ControlMapper::EKBMFunctionList operator+(ControlMapper::EKBMFunctionL
|
||||
return ControlMapper::EKBMFunctionList(static_cast<T>(a) + static_cast<T>(b));
|
||||
}
|
||||
|
||||
constexpr ControlMapper::EKBMFunctionList operator+(ControlMapper::EKBMFunctionList a, boo::ESpecialKey b) {
|
||||
constexpr ControlMapper::EKBMFunctionList operator+(ControlMapper::EKBMFunctionList a, aurora::SpecialKey b) {
|
||||
using T = std::underlying_type_t<ControlMapper::EKBMFunctionList>;
|
||||
return ControlMapper::EKBMFunctionList(static_cast<T>(a) + static_cast<T>(b));
|
||||
}
|
||||
|
||||
constexpr ControlMapper::EKBMFunctionList operator+(ControlMapper::EKBMFunctionList a, boo::EMouseButton b) {
|
||||
constexpr ControlMapper::EKBMFunctionList operator+(ControlMapper::EKBMFunctionList a, EMouseButton b) {
|
||||
using T = std::underlying_type_t<ControlMapper::EKBMFunctionList>;
|
||||
return ControlMapper::EKBMFunctionList(static_cast<T>(a) + static_cast<T>(b));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user