diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-01-29 23:58:04 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-01-30 01:16:18 +0100 |
| commit | a27a35bd778d9afe9f04e7aed69d950bc4d980e8 (patch) | |
| tree | cad17cb68da4a210538c15a7fba2289374c4fcc1 /src/pad/esp32 | |
| parent | c2e2343054e8d11ebaaf426d6ca105e79e93da6a (diff) | |
| download | jancity-a27a35bd778d9afe9f04e7aed69d950bc4d980e8.tar.gz | |
WIP ESP32 port
Diffstat (limited to 'src/pad/esp32')
| -rw-r--r-- | src/pad/esp32/inc/pad/port.h | 18 | ||||
| -rw-r--r-- | src/pad/esp32/src/pad.c | 20 |
2 files changed, 38 insertions, 0 deletions
diff --git a/src/pad/esp32/inc/pad/port.h b/src/pad/esp32/inc/pad/port.h new file mode 100644 index 0000000..3f42422 --- /dev/null +++ b/src/pad/esp32/inc/pad/port.h @@ -0,0 +1,18 @@ +#ifndef PAD_ESP32_H +#define PAD_ESP32_H + +#ifdef __cplusplus +extern "C" +{ +#endif + +struct pad_port +{ + int dummy; +}; + +#ifdef __cplusplus +} +#endif + +#endif /* PAD_SDL_1_2_H */ diff --git a/src/pad/esp32/src/pad.c b/src/pad/esp32/src/pad.c new file mode 100644 index 0000000..78dd24d --- /dev/null +++ b/src/pad/esp32/src/pad.c @@ -0,0 +1,20 @@ +#include <pad.h> +#include <stdio.h> + +void pad_port_update(struct pad *const p) +{ +} + +void pad_init(const int id, struct pad *const p) +{ +} + +size_t pad_count(void) +{ + return 1; +} + +const char *pad_name(const int id) +{ + return NULL; +} |
