fix submodules again
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include <ctime>
|
||||
|
||||
namespace ult {
|
||||
#if USING_LOGGING_DIRECTIVE
|
||||
//#if USING_LOGGING_DIRECTIVE
|
||||
|
||||
// Specify the log file path
|
||||
extern const std::string defaultLogFilePath;
|
||||
@@ -41,5 +41,5 @@ namespace ult {
|
||||
*/
|
||||
void logMessage(const char* message);
|
||||
void logMessage(const std::string& message);
|
||||
#endif
|
||||
//#endif
|
||||
}
|
||||
@@ -36,5 +36,6 @@ namespace ult {
|
||||
void rumbleDoubleClick();
|
||||
void processRumbleStop(u64 nowNs);
|
||||
void processRumbleDoubleClick(u64 nowNs);
|
||||
void rumbleClickStandalone();
|
||||
void rumbleDoubleClickStandalone();
|
||||
}
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "debug_funcs.hpp"
|
||||
|
||||
namespace ult {
|
||||
#if USING_LOGGING_DIRECTIVE
|
||||
//#if USING_LOGGING_DIRECTIVE
|
||||
// Define static variables
|
||||
const std::string defaultLogFilePath = "sdmc:/switch/.packages/log.txt";
|
||||
std::string logFilePath = defaultLogFilePath;
|
||||
@@ -48,5 +48,5 @@ namespace ult {
|
||||
void logMessage(const std::string& message) {
|
||||
logMessage(message.c_str());
|
||||
}
|
||||
#endif
|
||||
//#endif
|
||||
}
|
||||
@@ -181,6 +181,14 @@ namespace ult {
|
||||
}
|
||||
}
|
||||
|
||||
void rumbleClickStandalone() {
|
||||
// Match regular rumbleClick() behavior, but blocking
|
||||
sendVibration(&vibrationStop);
|
||||
sendVibration2x(&hapticsPreset);
|
||||
svcSleepThread(RUMBLE_DURATION_NS);
|
||||
sendVibration(&vibrationStop);
|
||||
}
|
||||
|
||||
|
||||
void rumbleDoubleClickStandalone() {
|
||||
// Standalone uses sleeps, but still use cached style for decision
|
||||
|
||||
Reference in New Issue
Block a user