mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 22:09:19 +02:00
Add Discord RPC integration
This commit is contained in:
@@ -16,6 +16,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "light.h"
|
||||
#include "utilities.h"
|
||||
#include "motiontelemetry.h"
|
||||
#include "ref/discord-rpc/include/discord_rpc.h"
|
||||
#ifdef WITH_UART
|
||||
#include "uart.h"
|
||||
#endif
|
||||
@@ -23,10 +24,17 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "zmq_input.h"
|
||||
#endif
|
||||
|
||||
struct DiscordData
|
||||
{
|
||||
DiscordRichPresence dcRcp;
|
||||
char *scnName = "";
|
||||
};
|
||||
|
||||
struct global_settings {
|
||||
// members
|
||||
// data items
|
||||
// TODO: take these out of the settings
|
||||
DiscordData dcData;
|
||||
bool shiftState{ false }; //m7todo: brzydko
|
||||
bool ctrlState{ false };
|
||||
bool altState{ false };
|
||||
|
||||
Reference in New Issue
Block a user