error gamepad optio...
 
Notifications
Clear all

error gamepad option

3 Posts
2 Users
0 Reactions
1,973 Views
(@nighttech-gaming)
New Member
Joined: 3 years ago
Posts: 2
Topic starter  

I'm having problems trying to get a potentiometer to werk in Simhub.

 

When I upload to the Arduino, it always works, but as soon as I turn on the Gamepad analog axis (while having turned on the Gamepad setting), it gives me an error that the Gamepad settign isn't turned on, with the popup saying "compilation failed"

 

Error:

"G:\Programs\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10613 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IG:\Programs\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\arduino\avr\cores\arduino" "-IG:\Programs\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\arduino\avr\variants\standard" "-IG:\Programs\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\arduino\avr\libraries\EEPROM\src" "-IG:\Programs\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\arduino\avr\libraries\SPI\src" "-IG:\Programs\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13\hardware\arduino\avr\libraries\Wire\src" "-IG:\Programs\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13\libraries\Adafruit_GFX" "-IG:\Programs\SimHub\_Addons\Arduino\ArduinoIDE\arduino-1.6.13\libraries\FastLED" "C:\Users\BreeM\AppData\Local\Temp\SimHub-68056d65-25ee-4549-b19d-080fc7d0f86c\sketch\DisplayClientV2.ino.cpp" -o "C:\Users\BreeM\AppData\Local\Temp\SimHub-68056d65-25ee-4549-b19d-080fc7d0f86c\preproc\ctags_target_for_gcc_minus_e.cpp"
G:\Programs\SimHub\_Addons\Arduino\DisplayClientV2\DisplayClientV2.ino:54:2: error: #error Gamepad option must be enabled in order to use analog axis.
#error Gamepad option must be enabled in order to use analog axis.
^

 

I'm using an Arduino Uno.


   
Quote
(@nighttech-gaming)
New Member
Joined: 3 years ago
Posts: 2
Topic starter  

I've just found out this is the reason I initially went for a Pro Micro (that sadly enough broke).

 

For everyone else: This needs an Arduino Leonardo or (Pro) Micro, as these have the ability to emulate USB devices


   
ReplyQuote
(@petrderbikov)
New Member
Joined: 1 year ago
Posts: 2
 

Hi, I don't know what it is, I haven't encountered this problem, mostly I just ask the gtp chat, or on youtube see the solution, it helps in many cases. But lately I don't play on gamepad so much, I'm more into retro games and mostly play them in browser on https://www.gamestalgia.net There's quite a big selection of games there.


   
ReplyQuote
Share: