diff options
author | cslashm <cslashm@gmail.com> | 2019-03-28 17:14:24 +0100 |
---|---|---|
committer | cslashm <cslashm@gmail.com> | 2019-04-01 17:40:24 +0200 |
commit | 83fc45a41346d12037486214b935e392c5eceee7 (patch) | |
tree | cee2d07441cfcb6836f9ced72cc33bbf2b44aa12 /src/device/device_io_hid.hpp | |
parent | Merge pull request #5339 (diff) | |
download | monero-83fc45a41346d12037486214b935e392c5eceee7.tar.xz |
Add NanoX support
Diffstat (limited to 'src/device/device_io_hid.hpp')
-rw-r--r-- | src/device/device_io_hid.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device/device_io_hid.hpp b/src/device/device_io_hid.hpp index ed22058d6..96cb8d993 100644 --- a/src/device/device_io_hid.hpp +++ b/src/device/device_io_hid.hpp @@ -98,7 +98,8 @@ namespace hw { void init(); void connect(void *params); - void connect(unsigned int vid, unsigned int pid, boost::optional<int> interface_number, boost::optional<unsigned short> usage_page); + void connect(const std::vector<hid_conn_params> &conn); + hid_device *connect(unsigned int vid, unsigned int pid, boost::optional<int> interface_number, boost::optional<unsigned short> usage_page); bool connected() const; int exchange(unsigned char *command, unsigned int cmd_len, unsigned char *response, unsigned int max_resp_len, bool user_input); void disconnect(); |