src/mess/drivers/arcadia.c
| r9340 | r9341 | |
| 202 | 202 | /* FIXME: the joystick are analog - the actual definition is merely an hack */ |
| 203 | 203 | |
| 204 | 204 | #if 0 |
| 205 | | // shit, auto centering too slow, so only using 5 bits, and scaling at videoside |
| 205 | // auto centering too slow, so only using 5 bits, and scaling at videoside |
| 206 | 206 | PORT_START("controller1_joy_x") |
| 207 | 207 | PORT_BIT( 0x1fe,0x10,IPT_AD_STICK_X) |
| 208 | 208 | PORT_SENSITIVITY(1) |
| r9340 | r9341 | |
| 341 | 341 | /* FIXME: the joystick are analog - the actual definition is merely an hack */ |
| 342 | 342 | |
| 343 | 343 | #if 0 |
| 344 | | // shit, auto centering too slow, so only using 5 bits, and scaling at videoside |
| 344 | // auto centering too slow, so only using 5 bits, and scaling at videoside |
| 345 | 345 | PORT_START("controller1_joy_x") |
| 346 | 346 | PORT_BIT( 0x1fe,0x10,IPT_AD_STICK_X) |
| 347 | 347 | PORT_SENSITIVITY(1) |
src/mess/drivers/vc4000.c
| r9340 | r9341 | |
| 143 | 143 | PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("P2 Keypad 9") PORT_CODE(KEYCODE_E) |
| 144 | 144 | PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_NAME("P2 Keypad Clear") PORT_CODE(KEYCODE_R) |
| 145 | 145 | #ifndef ANALOG_HACK |
| 146 | | // shit, auto centering too slow, so only using 5 bits, and scaling at videoside |
| 146 | // auto centering too slow, so only using 5 bits, and scaling at videoside |
| 147 | 147 | PORT_START("JOY1_X") |
| 148 | 148 | PORT_BIT(0xff,0x70,IPT_AD_STICK_X) PORT_SENSITIVITY(70) PORT_KEYDELTA(5) PORT_CENTERDELTA(0) PORT_MINMAX(20,225) PORT_CODE_DEC(KEYCODE_LEFT) PORT_CODE_INC(KEYCODE_RIGHT) PORT_CODE_DEC(JOYCODE_X_LEFT_SWITCH) PORT_CODE_INC(JOYCODE_X_RIGHT_SWITCH) PORT_PLAYER(1) |
| 149 | 149 | PORT_START("JOY1_Y") |