comparison io.c @ 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 7f42a93f18a4
comparison
equal deleted inserted replaced
1649:b500e971da75 1650:d6c403135e64
24 24
25 #define CYCLE_NEVER 0xFFFFFFFF 25 #define CYCLE_NEVER 0xFFFFFFFF
26 #define MIN_POLL_INTERVAL 6840 26 #define MIN_POLL_INTERVAL 6840
27 27
28 const char * device_type_names[] = { 28 const char * device_type_names[] = {
29 "None",
29 "SMS gamepad", 30 "SMS gamepad",
30 "3-button gamepad", 31 "3-button gamepad",
31 "6-button gamepad", 32 "6-button gamepad",
32 "Mega Mouse", 33 "Mega Mouse",
33 "Saturn Keyboard", 34 "Saturn Keyboard",
36 "Justifier", 37 "Justifier",
37 "Sega multi-tap", 38 "Sega multi-tap",
38 "EA 4-way Play cable A", 39 "EA 4-way Play cable A",
39 "EA 4-way Play cable B", 40 "EA 4-way Play cable B",
40 "Sega Parallel Transfer Board", 41 "Sega Parallel Transfer Board",
41 "Generic Device", 42 "Generic Device"
42 "None"
43 }; 43 };
44 44
45 #define GAMEPAD_TH0 0 45 #define GAMEPAD_TH0 0
46 #define GAMEPAD_TH1 1 46 #define GAMEPAD_TH1 1
47 #define GAMEPAD_EXTRA 2 47 #define GAMEPAD_EXTRA 2