From ab1264064c573ae7c053a445cdf4c7a1530f622c Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Tue, 8 Jun 2021 10:43:36 +0300 Subject: [PATCH] Migrated FCEUD_CommandMapping to ButtConfig, finally. --- src/drivers/win/input.cpp | 74 ++++++------------- src/drivers/win/input.h | 4 +- src/drivers/win/mapinput.cpp | 60 +++++++++------ .../win/taseditor/taseditor_window.cpp | 6 +- src/drivers/win/tracer.cpp | 8 +- src/drivers/win/video.cpp | 7 +- src/drivers/win/window.cpp | 3 +- 7 files changed, 77 insertions(+), 85 deletions(-) diff --git a/src/drivers/win/input.cpp b/src/drivers/win/input.cpp index 8b4ca2b4..2ef16af3 100644 --- a/src/drivers/win/input.cpp +++ b/src/drivers/win/input.cpp @@ -929,9 +929,15 @@ void InitInputStuff(void) for (x = 0; x < 2; x++) for (y = 0; y < 2; y++) JoyClearBC(&lcdcompzappersc[x][y]); + + JoyClearBC(&autoHoldKeys); + JoyClearBC(&autoHoldClearKeys); + + for (x = 0; x