-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
4,315 additions
and
76 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
//--------------------------------------------------------------------------------------------------------------------- | ||
// XMidiCtrl - MIDI Controller plugin for X-Plane | ||
// | ||
// Copyright (c) 2021-2024 Marco Auer | ||
// | ||
// XMidiCtrl is free software: you can redistribute it and/or modify it under the terms of the | ||
// GNU Affero General Public License as published by the Free Software Foundation, either version 3 | ||
// of the License, or (at your option) any later version. | ||
// | ||
// XMidiCtrl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even | ||
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License along with XMidiCtrl. | ||
// If not, see <https://www.gnu.org/licenses/>. | ||
//--------------------------------------------------------------------------------------------------------------------- | ||
|
||
#ifndef XMC_HID_DEVICE_DATA_H | ||
#define XMC_HID_DEVICE_DATA_H | ||
|
||
// Standard | ||
#include <string> | ||
|
||
namespace xmidictrl { | ||
|
||
//--------------------------------------------------------------------------------------------------------------------- | ||
// TYPES | ||
//--------------------------------------------------------------------------------------------------------------------- | ||
|
||
struct hid_device_data { | ||
std::string manufacturer_string; | ||
std::string product_string; | ||
|
||
unsigned short vendor_id; | ||
unsigned short product_id; | ||
|
||
wchar_t* serial_no; | ||
|
||
int usb_interface_no; | ||
}; | ||
|
||
} // Namespace xmidictrl | ||
|
||
#endif // HID_DEVICE_DATA_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.