@@ -561,11 +561,10 @@ class ioport_field
561
561
// flags for ioport_fields
562
562
static inline constexpr u32 FIELD_FLAG_COCKTAIL = 0x0001 ; // set if this field is relevant only for cocktail cabinets
563
563
static inline constexpr u32 FIELD_FLAG_TOGGLE = 0x0002 ; // set if this field should behave as a toggle
564
- static inline constexpr u32 FIELD_FLAG_ROTATED = 0x0004 ; // set if this field represents a rotated control
565
- static inline constexpr u32 ANALOG_FLAG_REVERSE = 0x0008 ; // analog only: reverse the sense of the axis
566
- static inline constexpr u32 ANALOG_FLAG_RESET = 0x0010 ; // analog only: always preload in->default for relative axes, returning only deltas
567
- static inline constexpr u32 ANALOG_FLAG_WRAPS = 0x0020 ; // analog only: positional count wraps around
568
- static inline constexpr u32 ANALOG_FLAG_INVERT = 0x0040 ; // analog only: bitwise invert bits
564
+ static inline constexpr u32 ANALOG_FLAG_REVERSE = 0x0004 ; // analog only: reverse the sense of the axis
565
+ static inline constexpr u32 ANALOG_FLAG_RESET = 0x0008 ; // analog only: always preload in->default for relative axes, returning only deltas
566
+ static inline constexpr u32 ANALOG_FLAG_WRAPS = 0x0010 ; // analog only: positional count wraps around
567
+ static inline constexpr u32 ANALOG_FLAG_INVERT = 0x0020 ; // analog only: bitwise invert bits
569
568
570
569
public:
571
570
// construction/destruction
@@ -594,7 +593,6 @@ class ioport_field
594
593
595
594
bool cocktail () const { return ((m_flags & FIELD_FLAG_COCKTAIL) != 0 ); }
596
595
bool toggle () const { return ((m_flags & FIELD_FLAG_TOGGLE) != 0 ); }
597
- bool rotated () const { return ((m_flags & FIELD_FLAG_ROTATED) != 0 ); }
598
596
bool analog_reverse () const { return ((m_flags & ANALOG_FLAG_REVERSE) != 0 ); }
599
597
bool analog_reset () const { return ((m_flags & ANALOG_FLAG_RESET) != 0 ); }
600
598
bool analog_wraps () const { return ((m_flags & ANALOG_FLAG_WRAPS) != 0 ); }
@@ -1049,7 +1047,6 @@ class ioport_configurer
1049
1047
ioport_configurer& field_add_char (std::initializer_list<char32_t > charlist);
1050
1048
ioport_configurer& field_add_code (input_seq_type which, input_code code);
1051
1049
ioport_configurer& field_set_way (int way) { m_curfield->m_way = way; return *this ; }
1052
- ioport_configurer& field_set_rotated () { m_curfield->m_flags |= ioport_field::FIELD_FLAG_ROTATED; return *this ; }
1053
1050
ioport_configurer& field_set_name (const char *name) { assert (m_curfield != nullptr ); m_curfield->m_name = string_from_token (name); return *this ; }
1054
1051
ioport_configurer& field_set_player (int player) { m_curfield->m_player = player - 1 ; return *this ; }
1055
1052
ioport_configurer& field_set_cocktail () { m_curfield->m_flags |= ioport_field::FIELD_FLAG_COCKTAIL; field_set_player (2 ); return *this ; }
@@ -1176,9 +1173,6 @@ ATTR_COLD void INPUT_PORTS_NAME(_name)(device_t &owner, ioport_list &portlist, s
1176
1173
#define PORT_16WAY \
1177
1174
configurer.field_set_way(16 );
1178
1175
1179
- #define PORT_ROTATED \
1180
- configurer.field_set_rotated();
1181
-
1182
1176
// general flags
1183
1177
#define PORT_NAME (_name ) \
1184
1178
configurer.field_set_name(_name);
0 commit comments