[ion] Tidy files:

- move from shared to simulator/shared
- delete files used only be deprecated blackbox
This commit is contained in:
Émilie Feral
2020-04-15 10:49:43 +02:00
committed by Ecco
parent 4d981fbfb6
commit 870dd868e9
16 changed files with 5 additions and 44 deletions

View File

@@ -1,25 +0,0 @@
#include <ion/events.h>
namespace Ion {
namespace Events {
ShiftAlphaStatus shiftAlphaStatus() {
return ShiftAlphaStatus::Default;
}
void setShiftAlphaStatus(ShiftAlphaStatus s) {
}
bool isShiftActive() {
return false;
}
bool isAlphaActive() {
return false;
}
void updateModifiersFromEvent(Event e) {
}
}
}

View File

@@ -1,11 +0,0 @@
#include <ion/events.h>
namespace Ion {
namespace Keyboard {
State scan() {
return 0x00000000000000;
}
}
}

View File

@@ -1,8 +1,4 @@
ion_src += $(addprefix ion/src/shared/, \
crc32.cpp \
power.cpp \
random.cpp \
timing.cpp \
ion_src += $(addprefix ion/src/simulator/shared/, \
dummy/backlight.cpp \
dummy/battery.cpp \
dummy/display.cpp \
@@ -12,10 +8,8 @@ ion_src += $(addprefix ion/src/shared/, \
dummy/serial_number.cpp \
dummy/stack.cpp \
dummy/usb.cpp \
)
ion_src += $(addprefix ion/src/simulator/shared/, \
console_stdio.cpp:-consoledisplay \
crc32.cpp \
display.cpp:-headless \
events_keyboard.cpp:-headless \
events_stdin.cpp:+headless \
@@ -26,6 +20,9 @@ ion_src += $(addprefix ion/src/simulator/shared/, \
layout.cpp:-headless \
main_headless.cpp:+headless \
main_sdl.cpp:-headless \
power.cpp \
random.cpp \
timing.cpp \
)
include ion/src/simulator/$(TARGET)/Makefile