8 #define SDL_MAIN_HANDLED 15 constexpr
static const char *
const TAG =
"sdl";
22 void setup()
override;
display::DisplayType get_display_type() override
void process_key(uint32_t keycode, bool down)
std::map< int32_t, CallbackManager< void(bool)> > key_callbacks_
void draw_pixels_at(int x_start, int y_start, int w, int h, const uint8_t *ptr, display::ColorOrder order, display::ColorBitness bitness, bool big_endian, int x_offset, int y_offset, int x_pad) override
int get_height_internal() override
void set_dimensions(uint16_t width, uint16_t height)
void dump_config() override
void redraw_(SDL_Rect &rect)
float get_setup_priority() const override
void draw_pixel_at(int x, int y, Color color) override
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
int get_width_internal() override
Implementation of SPI Controller mode.
void add_key_listener(int32_t keycode, std::function< void(bool)> &&callback)
int get_height() override