Previous 15994 Revisions Next

r2018 Wednesday 19th March, 2008 at 10:22:48 UTC by Nathan Woods
[COCO] Fixed bug that could cause joystick button presses to not be registered.
(bug #1532)
[docs]messnew.txt
[src/mess/drivers]coco.c

src/mess/drivers/coco.c
r2017r2018
249249
250250static INPUT_PORTS_START( coco_joystick_buttons )
251251   PORT_START_TAG("joystick_buttons")
252   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Right Button") PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_PLAYER(1)
253   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Left Button")  PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_PLAYER(2)
252   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Right Button") PORT_CHANGED(coco_keyboard_changed, NULL) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_PLAYER(1)
253   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Left Button")  PORT_CHANGED(coco_keyboard_changed, NULL) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_PLAYER(2)
254254INPUT_PORTS_END
255255
256256
257257
258258static INPUT_PORTS_START( coco3_joystick_buttons )
259259   PORT_START_TAG("joystick_buttons")
260   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Right Button 1") PORT_CODE(KEYCODE_0_PAD)   PORT_CODE(JOYCODE_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_PLAYER(1)
261   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_NAME("Right Button 2") PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_CODE(MOUSECODE_BUTTON2) PORT_PLAYER(1)
262   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Left Button 1")  PORT_CODE(KEYCODE_0_PAD)   PORT_CODE(JOYCODE_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_PLAYER(2)
263   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_NAME("Left Button 2")  PORT_CODE(KEYCODE_DEL_PAD)   PORT_CODE(JOYCODE_BUTTON2) PORT_CODE(MOUSECODE_BUTTON2) PORT_PLAYER(2)
260   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Right Button 1") PORT_CHANGED(coco_keyboard_changed, NULL) PORT_CODE(KEYCODE_0_PAD)   PORT_CODE(JOYCODE_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_PLAYER(1)
261   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_NAME("Right Button 2") PORT_CHANGED(coco_keyboard_changed, NULL) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_CODE(MOUSECODE_BUTTON2) PORT_PLAYER(1)
262   PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1) PORT_NAME("Left Button 1")  PORT_CHANGED(coco_keyboard_changed, NULL) PORT_CODE(KEYCODE_0_PAD)   PORT_CODE(JOYCODE_BUTTON1) PORT_CODE(MOUSECODE_BUTTON1) PORT_PLAYER(2)
263   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2) PORT_NAME("Left Button 2")  PORT_CHANGED(coco_keyboard_changed, NULL) PORT_CODE(KEYCODE_DEL_PAD)   PORT_CODE(JOYCODE_BUTTON2) PORT_CODE(MOUSECODE_BUTTON2) PORT_PLAYER(2)
264264INPUT_PORTS_END
265265
266266static INPUT_PORTS_START( cart_autostart )
docs/messnew.txt
r2017r2018
2626- [ASTROCDE] Added controls for player 3 and 4 and improved analog controls.
2727  [ranger_lennier]
2828
29- [COCO] Fixed bug that could cause joystick button presses to not be
30  registered.  (bug #1532) [Nate Woods]
31
2932- [GALAXY] Fixed regressions.  [Miodrag Milanovic]
3033
3134- [GAMEBOY] Added support for Korean MBC1 mapper variant.  [Wilbert Pol]
r2017r2018
3740
3841- [SVI318] Cleaned up driver.  [Tomas Karlsson]
3942
43- [SVISION] Watara TV-Link PAL activated [PeT]
44
4045- [TRS80] Fixed an issue with I/O ports. Fixed 32 character display. Decoded
4146  LNW-80 characters. [Robbbert]
4247
4348- [VC4000] Cleaned up, added quickload and fixed colors.  (bug #1404) [Manfred
4449  Schneider]
4550
46- [SVISION] Watara TV-Link PAL activated [PeT]
4751
4852
49
5053User Interface Changes:
5154-----------------------
5255- [Windows UI] Fixed a bug in the per-driver software view.  (bug #1512) [Nate

Previous 15994 Revisions Next


© 1998-2018 The MESS Team