Skip to content

armgit / Piik

Public Imported from GitHub
0

Free, open-source screen sharing for private live streams with friends. Watch together in a browser or self-host Piik. 免费开源的私密屏幕共享,支持游戏直播、一起看电影与自部署。

451 B
Raw Blame
#pragma once

#include <stddef.h>
#include <stdint.h>

typedef struct PiikGamepad PiikGamepad;

PiikGamepad *piik_gamepad_open(const uint8_t *descriptor, size_t descriptor_size,
                               const uint8_t *neutral, size_t report_size,
                               uint32_t *result);
uint32_t piik_gamepad_update(PiikGamepad *device, const uint8_t *report);
uint32_t piik_gamepad_close(PiikGamepad *device, const uint8_t *neutral);