

Update README.md
@be0ad07d425d57c1224b0761f6d2c1ecdae5cf55
--- README.md
+++ README.md
... | ... | @@ -17,7 +17,8 @@ |
17 | 17 |
1. Initialize controller interface with the specific hardware type. |
18 | 18 |
```cpp |
19 | 19 |
// Initialize Interface |
20 |
-const std::string hw_type = "DualSense"; |
|
20 |
+const std::string hw_name = "DualSense"; |
|
21 |
+const auto hw_type = p9n_interface::getHwType(hw_name); |
|
21 | 22 |
ps_interface = |
22 | 23 |
std::make_unique<p9n_interface::PlayStationInterface>(hw_type); |
23 | 24 |
``` |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?