summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/inputmap.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-11-16 02:21:45 +1100
committer Vas Crabb <vas@vastheman.com>2019-11-16 02:21:45 +1100
commit85eeea5d57762ad516a9be394bd167920b142ab0 (patch)
tree19bd7d5de466d34e1e0c6f64acd0fe10a0d3be2f /src/frontend/mame/ui/inputmap.h
parent35f40a8200ec3c27351f0ff9f8f8721361c16dff (diff)
Display emulated analog input values on the anaolg controls menu screen
Diffstat (limited to 'src/frontend/mame/ui/inputmap.h')
-rw-r--r--src/frontend/mame/ui/inputmap.h31
1 files changed, 2 insertions, 29 deletions
diff --git a/src/frontend/mame/ui/inputmap.h b/src/frontend/mame/ui/inputmap.h
index a37a297a2f8..d0ffc4ec12c 100644
--- a/src/frontend/mame/ui/inputmap.h
+++ b/src/frontend/mame/ui/inputmap.h
@@ -17,6 +17,7 @@
namespace ui {
+
class menu_input_groups : public menu
{
public:
@@ -144,34 +145,6 @@ public:
virtual ~menu_settings_driver_config();
};
-class menu_analog : public menu
-{
-public:
- menu_analog(mame_ui_manager &mui, render_container &container);
- virtual ~menu_analog() override;
-
-private:
- enum {
- ANALOG_ITEM_KEYSPEED = 0,
- ANALOG_ITEM_CENTERSPEED,
- ANALOG_ITEM_REVERSE,
- ANALOG_ITEM_SENSITIVITY,
- ANALOG_ITEM_COUNT
- };
-
- /* internal analog menu item data */
- struct analog_item_data {
- ioport_field *field;
- int type;
- int min, max;
- int cur;
- int defvalue;
- };
-
- virtual void populate(float &customtop, float &custombottom) override;
- virtual void handle() override;
-};
-
} // namespace ui
-#endif /* MAME_FRONTEND_UI_INPUTMAP_H */
+#endif // MAME_FRONTEND_UI_INPUTMAP_H