Sending button comm...
 
Notifications
Clear all

Sending button command manually via custom arduino sketch

3 Posts
1 Users
0 Reactions
1,328 Views
(@furkansevke)
New Member
Joined: 3 years ago
Posts: 4
Topic starter  

First of all, I want to say that simhub is an amazing software. The more I examine it, the more my admiration grows. I have the utmost respect for the person who made this software. Many thanks for offering us these possibilities ready-made and customizable.

 

my plan is reading rotary switch position and hold that an variable. for example rotary switch position 4 and it means retarder/ers level 4.
but gamerawdata is 2. so increase that until retarder level will be 4. Its easy but i need to send virtual button command. How can i send gamepad command. i couldn't figure out joystick structre. if is not possible which i think it is possible (maybe not possible because we can change button state momentary but physical button is not pressed. Buttonstate can update until joystick.send(); ), i am planning to use send keyboard commands.

 

i am worried about this. It's a simple system, but the simhub creator didn't add rotary switches. Increase/decrease buttons can be defined in the software. rotary switches could be bound to properties such as ers/retarder.

 

Second method (Ncalc);

i tried use ncalc formulas in control events tab. we can read some data and process them bu we cant use button as trigger.


   
Quote
(@furkansevke)
New Member
Joined: 3 years ago
Posts: 4
Topic starter  

In the same way also toggle switches can be used for truck headlights etc.

 

Toggle switches and rotary switches will be increase simulation feel extremely.

 

Please add support/system for theese <3 


   
ReplyQuote
(@furkansevke)
New Member
Joined: 3 years ago
Posts: 4
Topic starter  

@admin5435


   
ReplyQuote
Share: