It's a shame when the game has an interesting plot, but inconvenient control. Aackosoft's North Sea Helicopter for MSX is one example. In an effort to make managing a virtual helicopter as realistic as possible, the developers used both joysticks (or one joystick and keyboard), although there is only one player.
Actually, today there is a lazy way to get through the classic game - to watch the passage. And very lazy - listen to the passage with comments. But the author under the nickname danjovic decided to play himself. But so that it is convenient. It turned out that Wii Nunchuk is great for this, if you use the physical joystick as the first joystick, and the accelerometer as the second. And as a "translator" from the "language" of Nunchuk to the "language" of MSX, he applied Arduino - Retrocomputers quite often connect joysticks from the same consoles and home PC to others.
The wizard presents the circuit diagram for connecting the board to the computer and the joystick in text form:
/ *
(AVR) UNO - MSX Function Note
-------------------------------------------------- -----
(PD4) D4 - UP-1 Port 1 / Pin 1 Joystick
(PD5) D5 - DOWN-1 Port 1 / Pin 2
(PD6) D6 - LEFT-1 Port 1 / Pin 3
(PD7) D7 - RIGHT-1 Port 1 / Pin 4
(PC0) A0 - TRGA-1 Port 1 / Output 6 Z button
(PC1) A1 - TRGB-1 Port 1 / Output 7 Button C
(PB0) D8 - UP-2 Port 2 / Pin 1 Accelerometers
(PB1) D9 - DOWN-2 Port 2 / Pin 2
(PB2) D10 - LEFT-2 Port 2 / Pin 3
(PB3) D11 - RIGHT-2 Port 2 / Pin 4
(AVR) UNO - Nunchuk Function Note
-------------------------------------------------- -----
(PC2) A2 - nGND General Optional
(PC3) A3 - nVCC + Upit Optional
(PC4) A4 - SDA SDA
(PC5) A5 - SCL SCL
* /
Nunchuk is designed for power supply with a voltage of +3.3 V. The experiments of arduino workers show that it also works from + 5V and does not fail, but it is better not to risk it. Therefore, if your Arduino-compatible motherboard has a 3.3-volt stabilizer, it is better to power Nunchuk from it, and if it is 5-volt, then use the same method as the master: power not from the power line, but from the digital outputs of the microcontroller. On the plus side, a small voltage drop, on the minus, too, and it turns out still a little less than 5 V. Yes, and the load capacity is limited.
Next, the wizard shows the correspondence of the functions of the joystick and accelerometer Nunchuk to the functions of a virtual helicopter in the game:
Firmware for homemade the master lays out here.
In general, now you can complete the game with comfort, applying do it yourself device, "sharpened" not for the platform as a whole, but for a specific game on it. Yes, that also happens.