input_common/udp: allow changing pad index

This commit is contained in:
zhupengfei 2018-08-10 14:15:26 +08:00
parent d1c364bb85
commit e1ae14d508
No known key found for this signature in database
GPG key ID: 85B82A3E62174206
6 changed files with 21 additions and 12 deletions

View file

@ -45,7 +45,7 @@ struct DeviceStatus {
class Client {
public:
explicit Client(std::shared_ptr<DeviceStatus> status, const std::string& host = DEFAULT_ADDR,
u16 port = DEFAULT_PORT, u32 client_id = 24872);
u16 port = DEFAULT_PORT, u8 pad_index = 0, u32 client_id = 24872);
~Client();
private: