summary refs log tree commit diff
path: root/input.h
blob: a772835207ab28b386c18ea2edf4b7520349e2bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <Arduino.h>
#include <Encoder.h>

void setup_input();

uint32_t read_knob();

#define EVENT_NONE 0
#define EVENT_CLICK 1
#define EVENT_HOLD 2
uint8_t read_button();