Address assorted feedback

This commit is contained in:
Henrik Rydgård committed 2023-04-01 09:01:27 +02:00
1 parent 04321284c0
commit 0b574613b9
3 files changed
+6 -8

No files matched your search

@@ -187,7 +187,6 @@ void WebSocketInputState::ButtonsPress(DebuggerRequest &req) {
}
press.button = info->second;
// TODO: Route into the control mapper's PSPKey function instead.
__CtrlUpdateButtons(press.button, 0);
pressTickets_.push_back(press);
}
@@ -201,7 +200,6 @@ void WebSocketInputState::Broadcast(net::WebSocketServer *ws) {
for (PressInfo &press : pressTickets_) {
press.duration--;
if (press.duration == -1) {
// TODO: Route into the control mapper's PSPKey function instead.
__CtrlUpdateButtons(0, press.button);
ws->Send(press.Event());
}