i'm not sure...
This commit is contained in:
parent
ed7b37b4fe
commit
a148964f31
3 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,7 @@ public class SkyPortal : ModuleRules
|
||||||
{
|
{
|
||||||
public SkyPortal(ReadOnlyTargetRules Target) : base(Target)
|
public SkyPortal(ReadOnlyTargetRules Target) : base(Target)
|
||||||
{
|
{
|
||||||
|
bPrecompile = true;
|
||||||
// Add the path to the hidapi include directory
|
// Add the path to the hidapi include directory
|
||||||
PublicIncludePaths.Add(Path.Combine(PluginDirectory, "ThirdParty", "hidapi", "include"));
|
PublicIncludePaths.Add(Path.Combine(PluginDirectory, "ThirdParty", "hidapi", "include"));
|
||||||
|
|
||||||
|
|
4
ThirdParty/hidapi/include/hidapi.h
vendored
4
ThirdParty/hidapi/include/hidapi.h
vendored
|
@ -417,6 +417,10 @@ extern "C" {
|
||||||
-1 on error.
|
-1 on error.
|
||||||
Call hid_error(dev) to get the failure reason.
|
Call hid_error(dev) to get the failure reason.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
int HID_API_EXPORT HID_API_CALL hid_set_output_report(hid_device* device, const unsigned char* data, size_t length);
|
||||||
|
|
||||||
|
|
||||||
int HID_API_EXPORT HID_API_CALL hid_send_feature_report(hid_device *dev, const unsigned char *data, size_t length);
|
int HID_API_EXPORT HID_API_CALL hid_send_feature_report(hid_device *dev, const unsigned char *data, size_t length);
|
||||||
|
|
||||||
/** @brief Get a feature report from a HID device.
|
/** @brief Get a feature report from a HID device.
|
||||||
|
|
2
ThirdParty/hidapi/include/hidapi_winapi.h
vendored
2
ThirdParty/hidapi/include/hidapi_winapi.h
vendored
|
@ -46,7 +46,7 @@ extern "C" {
|
||||||
|
|
||||||
@ingroup API
|
@ingroup API
|
||||||
@param dev A device handle returned from hid_open().
|
@param dev A device handle returned from hid_open().
|
||||||
@param guid The device's container ID on return.
|
@param container_id The device's container ID on return.
|
||||||
|
|
||||||
@returns
|
@returns
|
||||||
This function returns 0 on success and -1 on error.
|
This function returns 0 on success and -1 on error.
|
||||||
|
|
Loading…
Reference in a new issue