diff options
author | 2016-02-28 14:56:54 -0500 | |
---|---|---|
committer | 2016-02-28 14:56:54 -0500 | |
commit | f68ad66131ab9767f97b77b37111bf1f8a3522c2 (patch) | |
tree | de116084416b0c074d37b54679b3d2c3640b906d /src/osd/modules/debugger/debugwin.cpp | |
parent | 912598030e1f617b0b848766004ce7ed53534a04 (diff) | |
parent | 7dfb5785594a359ce9886ef6eebf564ea73af729 (diff) |
Merge input modules work.
Diffstat (limited to 'src/osd/modules/debugger/debugwin.cpp')
-rw-r--r-- | src/osd/modules/debugger/debugwin.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/osd/modules/debugger/debugwin.cpp b/src/osd/modules/debugger/debugwin.cpp index b31d12ea67a..634332899c3 100644 --- a/src/osd/modules/debugger/debugwin.cpp +++ b/src/osd/modules/debugger/debugwin.cpp @@ -25,7 +25,8 @@ #include "debugger.h" #include "window.h" -#include "../../windows/input.h" +#include "../input/input_common.h" +#include "../input/input_windows.h" class debugger_windows : public osd_module, public debug_module, protected debugger_windows_interface @@ -121,7 +122,7 @@ void debugger_windows::wait_for_debugger(device_t &device, bool firststop) show_all(); // run input polling to ensure that our status is in sync - wininput_poll(*m_machine); + downcast<windows_osd_interface&>(machine().osd()).poll_input(*m_machine); // get and process messages MSG message; @@ -202,7 +203,7 @@ bool debugger_windows::seq_pressed() const else { // handle everything else as a series of ANDs - int const vkey = wininput_vkey_for_mame_code(code); + int const vkey = keyboard_trans_table::instance().vkey_for_mame_code(code); bool const pressed = (vkey != 0) && ((GetAsyncKeyState(vkey) & 0x8000) != 0); if (first) // if this is the first in the sequence, result is set equal |