diff options
Diffstat (limited to 'src/emu/input.h')
-rw-r--r-- | src/emu/input.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/emu/input.h b/src/emu/input.h index b92bd7ce71f..6e8636e9956 100644 --- a/src/emu/input.h +++ b/src/emu/input.h @@ -379,6 +379,7 @@ public: // operators constexpr bool operator==(const input_code &rhs) const noexcept { return m_internal == rhs.m_internal; } constexpr bool operator!=(const input_code &rhs) const noexcept { return m_internal != rhs.m_internal; } + constexpr bool operator<(const input_code &rhs) const noexcept { return m_internal < rhs.m_internal; } // getters constexpr bool internal() const noexcept { return device_class() == DEVICE_CLASS_INTERNAL; } @@ -505,12 +506,6 @@ public: bool code_pressed(input_code code) { return code_value(code) != 0; } bool code_pressed_once(input_code code); - // input code polling - void reset_polling(); - input_code poll_axes(); - input_code poll_switches(); - input_code poll_keyboard_switches(); - // input code helpers input_device *device_from_code(input_code code) const; input_device_item *item_from_code(input_code code) const; |