From e293709f94d772f0761d8425d5dc134229cba2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Sun, 23 Aug 2020 15:00:32 +0200 Subject: [PATCH] Bugfix in sample code --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e8dc64a..5caa10d 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ const auto client = vigem_alloc(); if (client == nullptr) { - std::cerr << L"Uh, not enough memory to do that?!" << std::endl; + std::cerr << "Uh, not enough memory to do that?!" << std::endl; return -1; } ``` @@ -83,7 +83,7 @@ const auto retval = vigem_connect(client); if (!VIGEM_SUCCESS(retval)) { - std::cerr << L"ViGEm Bus connection failed with error code: 0x" << std::hex << retval << std::endl; + std::cerr << "ViGEm Bus connection failed with error code: 0x" << std::hex << retval << std::endl; return -1; } ``` @@ -110,7 +110,7 @@ const auto pir = vigem_target_add(client, pad); // if (!VIGEM_SUCCESS(pir)) { - std::cerr << L"Target plugin failed with error code: 0x" << std::hex << retval << std::endl; + std::cerr << "Target plugin failed with error code: 0x" << std::hex << retval << std::endl; return -1; }