Fork of Tangara with customizations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tangara-fw/src/tangara/input/input_hook_actions.hpp

31 lines
586 B

/*
* Copyright 2024 jacqueline <me@jacqueline.id.au>
*
* SPDX-License-Identifier: GPL-3.0-only
*/
#pragma once
#include "hal/lv_hal_indev.h"
#include "input_hook.hpp"
namespace input {
namespace actions {
auto select() -> HookCallback;
auto scrollUp() -> HookCallback;
auto scrollDown() -> HookCallback;
auto scrollToTop() -> HookCallback;
auto scrollToBottom() -> HookCallback;
auto goBack() -> HookCallback;
auto volumeUp() -> HookCallback;
auto volumeDown() -> HookCallback;
auto allActions() -> std::vector<HookCallback>;
} // namespace actions
} // namespace input