Version 1.08 with public source code release.

This commit is contained in:
icex2
2020-10-03 20:56:55 +02:00
parent 656148121d
commit 762bf140c0
555 changed files with 55502 additions and 3 deletions
+32
View File
@@ -0,0 +1,32 @@
/**
* Patch libusb-0.1 calls to intercept with piubtn (pump pro buttons)
* communication and hook our API with emulation code
*/
#ifndef PATCH_PIUBTN_H
#define PATCH_PIUBTN_H
#include "ptapi/io/x11-input-hook.h"
#include "util/options.h"
/**
* Initialize the patch module
*
* @param piubtn_lib_path Path to a library implementing the piubtn API
* @param real_passthrough True to ignore the library and disable any emulation
*/
void patch_piubtn_init(const char* piubtn_lib_path);
/**
* Get the input hook handler provided by the piubtn library.
*
* @return Input hook handler for main-loop patch module or NULL if none is used.
*/
const struct pumptools_input_hook_handler* patch_piubtn_get_input_hook_handler(void);
/**
* Shut down the patch module
*/
void patch_piubtn_shutdown(void);
#endif