Toggle switch and b...
 
Notifications
Clear all

[Solved] Toggle switch and button matrix

4 Posts
2 Users
0 Likes
1,859 Views
 sgeg
(@sgeg)
Trusted Member
Joined: 3 years ago
Posts: 51
Topic starter  

hi,

i would like to found a solution for a toggle switch (2 poles) that is used for contact battery in ACC and included in my button matrix.

As a toggle switch, it stay ON that mean if i want to switch OFF the contact i must switch 2 times before it will be see by silmhub.

do anybody have a solution to have this switch used as a momentary button?

thanks in advance


   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 728
 

Hi !

Currently most games don't support toggle switches (ETS2/ATS is one of the few supporting it when it's applicable)

On a side note Matrix wiring only supports momentary buttons : https://github.com/SHWotever/SimHub/wiki/Arduino---Button-matrix#read-before. If you use toggle switches in such wiring it will interfere (ghosting) with other buttons in the same row and or column.


   
ReplyQuote
 sgeg
(@sgeg)
Trusted Member
Joined: 3 years ago
Posts: 51
Topic starter  

my bad that the problem when you don't read carefully...

ok thanks... i will connect it directly to the micro pro instead...

merci


   
ReplyQuote
 sgeg
(@sgeg)
Trusted Member
Joined: 3 years ago
Posts: 51
Topic starter  

So I put my switch as a direct switch but it stay on all the time (like a standard switch) I would him to be like a momentary button. Do anybody have an idea to do that? 

Thanks


   
ReplyQuote
Share: