TouchTestScreen: Have 8 entries logged instead of 2.

This commit is contained in:
Henrik Rydgård committed 2023-07-06 11:48:25 +02:00
1 parent 65125583f8
commit fc3f7da3af
4 files changed
+39 -27

No files matched your search

+5 -2
View File
@@ -22,6 +22,7 @@
#include <set>
#include <mutex>
#include <vector>
#include <string>
#include "Common/UI/View.h"
#include "Common/UI/UIScreen.h"
@@ -165,10 +166,12 @@ protected:
};
TrackedTouch touches_[MAX_TOUCH_POINTS]{};
UI::TextView *lastKeyEvent_ = nullptr;
UI::TextView *lastLastKeyEvent_ = nullptr;
std::vector<std::string> keyEventLog_;
UI::TextView *lastKeyEvents_ = nullptr;
void CreateViews() override;
void UpdateLogView();
UI::EventReturn OnImmersiveModeChange(UI::EventParams &e);
UI::EventReturn OnRenderingBackend(UI::EventParams &e);