Smart tab5keyboard (#533)
This commit is contained in:
@@ -24,6 +24,14 @@ public:
|
||||
virtual uint16_t getPixelWidth() const = 0;
|
||||
virtual uint16_t getPixelHeight() const = 0;
|
||||
virtual bool drawBitmap(int xStart, int yStart, int xEnd, int yEnd, const void* pixelData) = 0;
|
||||
|
||||
/**
|
||||
* Returns direct pointers to the panel's hardware frame buffer(s), if the
|
||||
* underlying driver supports it (DPI/MIPI-DSI panels only).
|
||||
* @param[out] outBuffers receives up to 2 frame buffer pointers
|
||||
* @return number of buffers written to outBuffers (0 if unsupported)
|
||||
*/
|
||||
virtual uint8_t getFrameBuffers(void* outBuffers[2]) const { return 0; }
|
||||
};
|
||||
|
||||
}
|
||||
@@ -15,7 +15,7 @@ enum class BootMode {
|
||||
Flash
|
||||
};
|
||||
|
||||
bool startMassStorageWithSdmmc();
|
||||
bool startMassStorageWithSdmmc(bool fromBootMode = false);
|
||||
void stop();
|
||||
Mode getMode();
|
||||
bool isSupported();
|
||||
@@ -28,7 +28,7 @@ void resetUsbBootMode();
|
||||
BootMode getUsbBootMode();
|
||||
|
||||
// Flash-based mass storage
|
||||
bool startMassStorageWithFlash();
|
||||
bool startMassStorageWithFlash(bool fromBootMode = false);
|
||||
bool canRebootIntoMassStorageFlash();
|
||||
void rebootIntoMassStorageFlash();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user