comparison io.h @ 1650:d6c403135e64

Re-order IO device type enum so "None" is selected when no device is specified for a port
author Michael Pavone <pavone@retrodev.com>
date Mon, 24 Dec 2018 11:11:24 -0800
parents c206a422d466
children e7a516f08cec
comparison
equal deleted inserted replaced
1649:b500e971da75 1650:d6c403135e64
9 #include "tern.h" 9 #include "tern.h"
10 #include "romdb.h" 10 #include "romdb.h"
11 #include "serialize.h" 11 #include "serialize.h"
12 12
13 enum { 13 enum {
14 IO_NONE,
14 IO_GAMEPAD2, 15 IO_GAMEPAD2,
15 IO_GAMEPAD3, 16 IO_GAMEPAD3,
16 IO_GAMEPAD6, 17 IO_GAMEPAD6,
17 IO_MOUSE, 18 IO_MOUSE,
18 IO_SATURN_KEYBOARD, 19 IO_SATURN_KEYBOARD,
21 IO_JUSTIFIER, 22 IO_JUSTIFIER,
22 IO_SEGA_MULTI, 23 IO_SEGA_MULTI,
23 IO_EA_MULTI_A, 24 IO_EA_MULTI_A,
24 IO_EA_MULTI_B, 25 IO_EA_MULTI_B,
25 IO_SEGA_PARALLEL, 26 IO_SEGA_PARALLEL,
26 IO_GENERIC, 27 IO_GENERIC
27 IO_NONE
28 }; 28 };
29 29
30 typedef struct { 30 typedef struct {
31 union { 31 union {
32 struct { 32 struct {