mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 08:17:03 +00:00
Replace logvisor with spdlog; remove athena, discord-rpc, rapidjson
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#include "Runtime/Input/CDolphinController.hpp"
|
||||
|
||||
#include <dolphin/si.h>
|
||||
#include <zeus/Math.hpp>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
namespace metaforce {
|
||||
CDolphinController::CDolphinController() {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstring>
|
||||
#include <bitset>
|
||||
|
||||
#include "Runtime/Input/CKeyboardMouseController.hpp"
|
||||
#include "Runtime/Input/CControllerGamepadData.hpp"
|
||||
|
||||
@@ -36,7 +36,7 @@ void CRumbleGenerator::Update(float dt) {
|
||||
if (xe0_commandArray[i] != EMotorState::Stop) {
|
||||
#if PWM_MONITOR
|
||||
s_tp = now;
|
||||
fmt::print(FMT_STRING("{}ms ON\n"), ms);
|
||||
spdlog::debug("{}ms ON\n", ms);
|
||||
#endif
|
||||
xe0_commandArray[i] = EMotorState::Stop;
|
||||
updated = true;
|
||||
@@ -48,7 +48,7 @@ void CRumbleGenerator::Update(float dt) {
|
||||
if (xe0_commandArray[i] != EMotorState::Rumble) {
|
||||
#if PWM_MONITOR
|
||||
s_tp = now;
|
||||
fmt::print(FMT_STRING("{}ms Off\n"), ms);
|
||||
spdlog::debug("{}ms Off\n", ms);
|
||||
#endif
|
||||
xe0_commandArray[i] = EMotorState::Rumble;
|
||||
updated = true;
|
||||
@@ -60,7 +60,7 @@ void CRumbleGenerator::Update(float dt) {
|
||||
if (xe0_commandArray[i] != EMotorState::Stop) {
|
||||
#if PWM_MONITOR
|
||||
s_tp = now;
|
||||
fmt::print(FMT_STRING("{}ms ON\n"), ms);
|
||||
spdlog::debug("{}ms ON\n", ms);
|
||||
#endif
|
||||
xe0_commandArray[i] = EMotorState::Stop;
|
||||
updated = true;
|
||||
|
||||
Reference in New Issue
Block a user