wip: AglaisInterface => LogProtocolInterface

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/851/head
Gergely Nagy 4 years ago
parent 507bf61b26
commit 8f7be391e5
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -20,4 +20,4 @@
#pragma once
#include "kaleidoscope/simulator/Simulator.h"
#include "kaleidoscope/simulator/AglaisInterface.h"
#include "kaleidoscope/simulator/LogProtocolInterface.h"

@ -18,7 +18,7 @@
#ifdef KALEIDOSCOPE_VIRTUAL_BUILD
#include "kaleidoscope/simulator/AglaisInterface.h"
#include "kaleidoscope/simulator/LogProtocolInterface.h"
#include "kaleidoscope/simulator/reports/KeyboardReport.h"
#include "kaleidoscope/simulator/reports/BootKeyboardReport.h"
#include "kaleidoscope/simulator/reports/MouseReport.h"
@ -147,7 +147,7 @@ class SimulatorConsumerAdaptor : public log_protocol::Consumer_ {
};
void processAglaisDocument(const char *code, interface::Simulator_ &simulator) {
void processLogDocument(const char *code, interface::Simulator_ &simulator) {
auto rwqa_state = simulator.getErrorIfReportWithoutQueuedActions();
log_protocol::LogProtocol a;

@ -26,7 +26,7 @@ namespace interface {
class Simulator_;
} // namespace interface
void processAglaisDocument(const char *code, interface::Simulator_ &sim);
void processLogDocument(const char *code, interface::Simulator_ &sim);
} // namespace simulator
} // namespace kaleidoscope

@ -41,7 +41,7 @@ uint8_t toKeycode(Key key) {
#include "kaleidoscope/simulator/Interface.h"
#include "kaleidoscope/simulator/Executor.h"
#include "kaleidoscope/simulator/AglaisInterface.h"
#include "kaleidoscope/simulator/LogProtocolInterface.h"
#include "kaleidoscope/simulator/interface/Visualization.h"
#include "kaleidoscope/simulator/actions/AssertLayerIsActive.h"

@ -48,7 +48,7 @@ void runSimulator(Executor &simulator) {
// simulator.permanentMouseReportActions().add(GenerateHostEvent<MouseReport>{});
// simulator.permanentAbsoluteMouseReportActions().add(GenerateHostEvent<AbsoluteMouseReport>{});
processAglaisDocument(aglais_test_recording, simulator);
processLogDocument(aglais_test_recording, simulator);
}
const char aglais_test_recording[] =

Loading…
Cancel
Save