Added native output grabbing for Python and Lua: less hacky than output_grabber.py, should work on ProxSpace as well

This commit is contained in:
Philippe Teuwen 2024-08-14 13:06:21 +02:00
commit 369c5bb5db
23 changed files with 387 additions and 198 deletions

View file

@ -16,10 +16,13 @@
#ifndef LIBPM3_H
#define LIBPM3_H
#include <stdbool.h>
typedef struct pm3_device pm3;
pm3 *pm3_open(const char *port);
int pm3_console(pm3 *dev, const char *cmd);
int pm3_console(pm3 *dev, const char *cmd, bool passthru);
const char *pm3_grabbed_output_get(pm3 *dev);
const char *pm3_name_get(pm3 *dev);
void pm3_close(pm3 *dev);
pm3 *pm3_get_current_dev(void);