Ovviamente un simulatore che si rispetti deve cercare di rendere l'esperienza di "gioco" il più realistica possibile. E' quindi fondamentale rendere disponibili tramite pulsanti reali gran parte delle funzionalità e azioni, senza ricorrere all'utilizzo della tastiera o del mouse.
Mi sono quindi procurato pulsanti e switch fisici da interfacciare al simulatore per attivare le funzionalità non implementate dai pannelli logitech (ex saitek)
Questo particolare modello è comodo perchè ha anche un led integrato...ma oggi parliamo di INPUT e non di OUTPUT, quindi mi limito al pulsante
Obviously, a self-respecting simulator must try to make the "game" experience as realistic as possible. It is therefore essential to make most of the functions and actions available through real buttons, without using the keyboard or mouse.
So I got physical buttons and switches to interface with the simulator to activate the features not implemented by the logitech (ex saitek) panels
This particular model is convenient because it also has an integrated LED ... but today we are talking about INPUT and not OUTPUT, so I limit myself to the button
Una volta deciso dove montare i pulsanti e quali azioni assegnare, non rimane altro che utilizzare un'interfaccia hardware per collegarli al simulatore.
La mia prima scelta (forse la più economica) è stata quella di emulare una tastiera e far sì che ogni pressione di un pulsante corrispondesse alla pressione di un tasto della tastiera; in questo modo sarebbe stato sufficiente assegnare a quel particolare tasto la funzione attribuita al pulsante (per questa idea ho preso spunto da Dave Ault). La prima versione del mio simulatore utilizzava proprio questo metodo...con una tastiera ero riuscito a mappare tutti i pulsanti principali.
In cosa consiste questo metodo? E' sufficiente recuperare il circuito elettronico di una tastiera e con tanta pazienza saldare dei fili ai suoi pin...Cortocircuitando due pin si simula la pressione di un tasto. Quindi, una volta trovate le combinazioni dei pin da cortocircuitare, è stato sufficiente collegare i contatti dei pulsanti e successivamente mappare il tasto ad un'azione del simulatore tramite FSUIPC. Per fare i collegamenti ho utilizzato un semplicissimo cavo flat (quelli utilizzati per gli Hard Disk IDE). Il risultato finale, nella sua rozzezza, è stato molto funzionale ed efficace.
Once you decide where to mount the buttons and what actions to assign, all you have to do is use a hardware interface to connect them to the simulator.
My first choice (perhaps the cheapest) was to emulate a keyboard and make each press of a button correspond to a press of a keyboard key; in this way it would have been sufficient to assign to that particular key the function attributed to the button (for this idea I was inspired by Dave Ault). The first version of my simulator used this method...with a keyboard I was able to map all the main buttons.
What is this method about? It is sufficient to recover the electronic circuit of a keyboard and with a lot of patience to solder some wires to its pins...By shorting two pins the pressure of a key is simulated. So, once we found the combinations of pins to short, it was sufficient to connect the contacts of the buttons and then map the button to an action of the simulator via FSUIPC. To make the connections I used a very simple flat cable (those used for IDE Hard Disks). The final result, in its * roughness *, was very functional and effective.
In questa nuova versione 2 del simulatore ho abbandonato questo metodo perchè per un errore di collegamento ho letteralmente bruciato la tastiera...
Mi sono quindi evoluto verso soluzioni più stabili ed ho scoperto il fantastico software MOBIFLIGHT, open source e gratuito. Tramite l'utilizzo di due moduli software è possibile, utilizzando dei microcontrollori compatibili, interfacciare INPUT e OUTPUT al simulatore e configurargli come si ritiene opportuno. Un modulo software va installato sul PC e permette le configurazioni del sistema; il secondo modulo software è un firmware da installare sul microcontrollore.
Dopo aver fatto qualche prova, ho deciso di adottarlo come soluzione definitiva per la gestione degli INPUT, utilizzando come microcontrollore una scheda ARDUINO NANO. E' bastato collegare i pulsanti ai pin di ARDUINO, collegare ARDUINO tramite USB al PC e configurare le associazioni dei pulsanti utilizzando il software per Windows.
In this new version 2 of the simulator I abandoned this method because due to a connection error I literally burned the keyboard...
I then evolved towards more stable solutions and discovered the fantastic software MOBIFLIGHT, open source and free. Through the use of two software modules it is possible, using compatible microcontrollers, to interface INPUT and OUTPUT to the simulator and configure them as deemed appropriate. A software module is installed on the PC and allows system configurations; the second software module is a firmware to be installed on the microcontroller.
After doing some tests, I decided to adopt it as a definitive solution for INPUT management, using an ARDUINO NANO board as a microcontroller. All you had to do was connect the buttons to the ARDUINO pins, connect the ARDUINO via USB to your PC and configure the button bindings using the Windows software.
Vi lascio con un breve video che mostra i test fatti con MOBIFLIGHT e ARDUINO
I leave you with a short video showing the tests done with MOBIFLIGHT and ARDUINO
Immagini e video di proprietà dell'autore
My own images and videos