1
0
Fork 0

Add pointing tests (#24513)

This commit is contained in:
Dasky 2024-11-23 16:34:32 +00:00 committed by GitHub
parent d189de24a0
commit 1f7d10902a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 917 additions and 0 deletions

View file

@ -0,0 +1,32 @@
// Copyright 2024 Dasky (@daskygit)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
void pd_press_button(uint8_t btn);
void pd_release_button(uint8_t btn);
void pd_clear_all_buttons(void);
void pd_set_x(int16_t x);
void clear_x(void);
void pd_set_y(int16_t y);
void pd_clear_y(void);
void pd_set_h(int16_t h);
void pd_clear_h(void);
void pd_set_v(int16_t v);
void pd_clear_v(void);
void pd_clear_movement(void);
void pd_set_init(bool success);
#ifdef __cplusplus
}
#endif