Switch DS Sim Sockets to use UV loops (#1211)

Also adds the simulation packet to force switch the DS to local.
This commit is contained in:
Thad House
2018-07-22 23:03:55 -07:00
committed by Peter Johnson
parent eb2c6e19f8
commit a34df5589e
6 changed files with 147 additions and 178 deletions

View File

@@ -8,9 +8,13 @@
#pragma once
#include <vector>
namespace halsim {
typedef struct {
std::vector<int16_t> axes;
uint8_t button_count;
uint32_t buttons;
std::vector<int16_t> povs;
} DSCommJoystickPacket;
} // namespace halsim