i'm not sure...

This commit is contained in:
Lucas 2024-09-21 00:44:38 +02:00
parent ed7b37b4fe
commit a148964f31
3 changed files with 6 additions and 1 deletions

View file

@ -7,6 +7,7 @@ public class SkyPortal : ModuleRules
{
public SkyPortal(ReadOnlyTargetRules Target) : base(Target)
{
bPrecompile = true;
// Add the path to the hidapi include directory
PublicIncludePaths.Add(Path.Combine(PluginDirectory, "ThirdParty", "hidapi", "include"));

View file

@ -417,6 +417,10 @@ extern "C" {
-1 on error.
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);
/** @brief Get a feature report from a HID device.

View file

@ -46,7 +46,7 @@ extern "C" {
@ingroup API
@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
This function returns 0 on success and -1 on error.