Bemanitools v5.26 release

This commit is contained in:
icex2
2019-09-27 22:36:50 +02:00
commit cbd7720349
718 changed files with 62731 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#ifndef CONFIG_SNAP_H
#define CONFIG_SNAP_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "geninput/mapper.h"
struct snap_dev {
struct hid_stub *hid;
int32_t *states;
struct hid_control *controls;
uint32_t ncontrols;
};
struct snap {
struct snap_dev *devs;
uint32_t ndevs;
};
void snap_init(struct snap *snap);
bool snap_find_edge(const struct snap *snap, const struct snap *other_snap,
struct mapped_action *ma);
void snap_fini(struct snap *snap);
#endif