Client clears list and reinitializes controller when the device list updates
This commit is contained in:
parent
60fd721586
commit
8347644b07
3 changed files with 49 additions and 4 deletions
|
|
@ -46,7 +46,8 @@ public:
|
|||
|
||||
void ProcessReply_ControllerCount(unsigned int data_size, char * data);
|
||||
void ProcessReply_ControllerData(unsigned int data_size, char * data, unsigned int dev_idx);
|
||||
|
||||
void ProcessRequest_DeviceListChanged();
|
||||
|
||||
void SendData_ClientString();
|
||||
|
||||
void SendRequest_ControllerCount();
|
||||
|
|
@ -79,6 +80,7 @@ private:
|
|||
bool server_connected;
|
||||
bool server_initialized;
|
||||
unsigned int server_controller_count;
|
||||
bool server_controller_count_received;
|
||||
|
||||
std::thread * ConnectionThread;
|
||||
std::thread * ListenThread;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue