From fc54f63a09839628bfc6d40a792cda7b902176dc Mon Sep 17 00:00:00 2001 From: stephh Date: Fri, 3 Oct 2008 04:00:41 +0000 Subject: [PATCH] Removed unneeded keys by removing the constants. Readded UI_ON_SCREEN_DISPLAY to be changed again in the "Inputs" menu as per Aaron's request. A clean build is required and cfg/default.cfg has to be deleted ! --- src/emu/inptport.h | 6 ------ src/emu/inpttype.h | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/emu/inptport.h b/src/emu/inptport.h index c88f1f949b5..a40fe0211bb 100644 --- a/src/emu/inptport.h +++ b/src/emu/inptport.h @@ -286,12 +286,6 @@ enum IPT_UI_PASTE, IPT_UI_SAVE_STATE, IPT_UI_LOAD_STATE, - IPT_UI_ADD_CHEAT, - IPT_UI_DELETE_CHEAT, - IPT_UI_SAVE_CHEAT, - IPT_UI_WATCH_VALUE, - IPT_UI_EDIT_CHEAT, - IPT_UI_RELOAD_CHEAT, IPT_UI_TOGGLE_CROSSHAIR, /* additional OSD-specified UI port types (up to 16) */ diff --git a/src/emu/inpttype.h b/src/emu/inpttype.h index 03ad2296fe0..141050b0526 100644 --- a/src/emu/inpttype.h +++ b/src/emu/inpttype.h @@ -524,6 +524,7 @@ static const input_type_desc core_types[] = INPUT_PORT_DIGITAL_TYPE( 0, OTHER, KEYBOARD, "Keyboard", SEQ_DEF_0 ) + INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_ON_SCREEN_DISPLAY,"On Screen Display", SEQ_DEF_1(KEYCODE_TILDE) ) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_DEBUG_BREAK, "Break in Debugger", SEQ_DEF_1(KEYCODE_TILDE) ) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_CONFIGURE, "Config Menu", SEQ_DEF_1(KEYCODE_TAB) ) INPUT_PORT_DIGITAL_TYPE( 0, UI, UI_PAUSE, "Pause", SEQ_DEF_1(KEYCODE_P) )