WATANABE Aoi 2022-06-10
Update README.md
@be0ad07d425d57c1224b0761f6d2c1ecdae5cf55
README.md
--- README.md
+++ README.md
@@ -17,7 +17,8 @@
 1. Initialize controller interface with the specific hardware type.
 ```cpp
 // Initialize Interface
-const std::string hw_type = "DualSense";
+const std::string hw_name = "DualSense";
+const auto hw_type = p9n_interface::getHwType(hw_name);
 ps_interface =
   std::make_unique<p9n_interface::PlayStationInterface>(hw_type);
 ```
Add a comment
List