mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00

* Move to Portduino's getMacAddr() * Add ST7735/S screen support * Push Raspbian support into native target * Remove latent pigpio references. * CardKB defensive programming * Adds configurable spidev * Fixes to build on Fedora 40 * ENUMs are not #defines. Pull latest portduino * Add more configuration options for SPI displays * Add config.yaml option to set DIO3_TCXO_VOLTAGE * change tft clear() to fillScreen() Maintains compatability with ESPI driver. * Adds TXen and RXen pins to portduino * Add -c --config options to specify config file * Fail when a specified config file is unavailable --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
21 lines
611 B
C++
21 lines
611 B
C++
#ifdef ARCH_PORTDUINO
|
|
#pragma once
|
|
#include "LinuxInput.h"
|
|
#include "main.h"
|
|
|
|
/**
|
|
* @brief The idea behind this class to have static methods for the event handlers.
|
|
* Check attachInterrupt() at RotaryEncoderInteruptBase.cpp
|
|
* Technically you can have as many rotary encoders hardver attached
|
|
* to your device as you wish, but you always need to have separate event
|
|
* handlers, thus you need to have a RotaryEncoderInterrupt implementation.
|
|
*/
|
|
|
|
class LinuxInputImpl : public LinuxInput
|
|
{
|
|
public:
|
|
LinuxInputImpl();
|
|
void init();
|
|
};
|
|
extern LinuxInputImpl *aLinuxInputImpl;
|
|
#endif |