summaryrefslogtreecommitdiff
path: root/src/input/include/input_hook_actions.hpp
blob: a05a14e8dec6c4153b3bc955f0ec830f3faeeccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright 2024 jacqueline <me@jacqueline.id.au>
 *
 * SPDX-License-Identifier: GPL-3.0-only
 */

#pragma once

#include "hal/lv_hal_indev.h"

namespace input {
namespace actions {

auto select(lv_indev_data_t*) -> void;

auto scrollUp(lv_indev_data_t*) -> void;
auto scrollDown(lv_indev_data_t*) -> void;

auto scrollToTop(lv_indev_data_t*) -> void;
auto scrollToBottom(lv_indev_data_t*) -> void;

auto goBack(lv_indev_data_t*) -> void;

auto volumeUp(lv_indev_data_t*) -> void;
auto volumeDown(lv_indev_data_t*) -> void;

}  // namespace actions
}  // namespace input