Skip to content

Commit

Permalink
#12: Updated version number in UI and renamed Device Interface GUID c…
Browse files Browse the repository at this point in the history
…onstant
  • Loading branch information
OOPMan committed Aug 9, 2019
1 parent 88fe16e commit bba746f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion XBOFS.win/PDCursesUIManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int PDCursesUIManager::checkMailbox()
void PDCursesUIManager::render(bool exiting)
{
erase();
mvwprintw(this->window, 0, 0, "XBOFS.win v0.3 %s", exiting ? "" : "(Press Q to exit)");
mvwprintw(this->window, 0, 0, "XBOFS.win v0.3a %s", exiting ? "" : "(Press Q to exit)");
mvwprintw(this->window, 2, 0, "WinUSB Device Manager (Thread ID %d) status: %s", this->winUsbDeviceManager->getThreadId(), threadMessageToString(this->winUsbDeviceManagerStatus).c_str());
auto counter = 0;
for (auto threadId : this->winUsbDeviceThreadIdList) {
Expand Down
4 changes: 2 additions & 2 deletions XBOFS.win/WinUsbDeviceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ std::set<tstring> WinUsbDeviceManager::retrieveDevicePaths() {
this->logger->debug("Retrieving device interface paths");
do {
configurationManagerResult = CM_Get_Device_Interface_List_Size(&deviceInterfaceListSize,
(LPGUID)&GUID_DEVINTERFACE_RazorAtroxWinUSBVigEmFeeder,
(LPGUID)&GUID_DEVINTERFACE_XBOFS_WIN_CONTROLLER,
NULL,
CM_GET_DEVICE_INTERFACE_LIST_PRESENT);

Expand All @@ -87,7 +87,7 @@ std::set<tstring> WinUsbDeviceManager::retrieveDevicePaths() {
break;
}

configurationManagerResult = CM_Get_Device_Interface_List((LPGUID)&GUID_DEVINTERFACE_RazorAtroxWinUSBVigEmFeeder,
configurationManagerResult = CM_Get_Device_Interface_List((LPGUID)&GUID_DEVINTERFACE_XBOFS_WIN_CONTROLLER,
NULL,
deviceInterfaceList,
deviceInterfaceListSize,
Expand Down
4 changes: 2 additions & 2 deletions XBOFS.win/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Return value:
//
do {
cr = CM_Get_Device_Interface_List_Size(&DeviceInterfaceListLength,
(LPGUID)&GUID_DEVINTERFACE_RazorAtroxWinUSBVigEmFeeder,
(LPGUID)&GUID_DEVINTERFACE_XBOFS_WIN_CONTROLLER,
NULL,
CM_GET_DEVICE_INTERFACE_LIST_PRESENT);

Expand All @@ -189,7 +189,7 @@ Return value:
break;
}

cr = CM_Get_Device_Interface_List((LPGUID)&GUID_DEVINTERFACE_RazorAtroxWinUSBVigEmFeeder,
cr = CM_Get_Device_Interface_List((LPGUID)&GUID_DEVINTERFACE_XBOFS_WIN_CONTROLLER,
NULL,
DeviceInterfaceList,
DeviceInterfaceListLength,
Expand Down
2 changes: 1 addition & 1 deletion XBOFS.win/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Must match "DeviceInterfaceGUIDs" registry value specified in the INF file.
//
// 5ACF052A-3BE5-46AE-905E-356BA17671BD
DEFINE_GUID(GUID_DEVINTERFACE_RazorAtroxWinUSBVigEmFeeder,
DEFINE_GUID(GUID_DEVINTERFACE_XBOFS_WIN_CONTROLLER,
0x5ACF052A, 0x3BE5, 0x46AE, 0x90, 0x5E, 0x35, 0x6B, 0xA1, 0x76, 0x71, 0xBD);

typedef struct _DEVICE_DATA {
Expand Down

0 comments on commit bba746f

Please sign in to comment.