mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-12 02:08:30 +12:00
Add new HTTP(anda) commands
This commit is contained in:
parent
8fb3096331
commit
fa6ce2a7f2
4 changed files with 31 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "helpers.hpp"
|
||||
|
||||
enum class HttpActionType { None, Screenshot, Key };
|
||||
enum class HttpActionType { None, Screenshot, Key, TogglePause, Reset };
|
||||
|
||||
class Emulator;
|
||||
namespace httplib {
|
||||
|
@ -42,6 +42,8 @@ class HttpAction {
|
|||
|
||||
static std::unique_ptr<HttpAction> createScreenshotAction(DeferredResponseWrapper& response);
|
||||
static std::unique_ptr<HttpAction> createKeyAction(uint32_t key, bool state);
|
||||
static std::unique_ptr<HttpAction> createTogglePauseAction();
|
||||
static std::unique_ptr<HttpAction> createResetAction();
|
||||
};
|
||||
|
||||
struct HttpServer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue