n-e-y-s / G27_Pedals_and_Shifter

Arduino USB interface for Logitech G27 Pedals and Shifter
67 stars 16 forks source link

Possible to add switch to toggle shifter layout? #6

Open WesToleman opened 3 years ago

WesToleman commented 3 years ago

Hi, I drive a number of cars that have a dog-leg gearbox layout. I was wondering if it would be possible to add a new mapping and some sort of toggle that would switch between it and the traditional six-speed layout. This would save a little hassle of having to re-map controls in game. Would this be a trivial thing to do?

n-e-y-s commented 3 years ago

Well, it's related to the gear detection code, and it's maybe possible (I don't know whether or not the "reverse-gear-push-sensor" could work in this way, because mine is broken).

If you'd be willing to submit a pull request, I'd be happy to support and integrate it... But I probably won't implement it by myself.

WesToleman commented 3 years ago

I don't know whether or not the "reverse-gear-push-sensor" could work in this way

I'd still need reverse to be reverse so probably not. I think I'll need to add something like a push-button switch. I'll see what I can achieve when my parts arrive.

n-e-y-s commented 3 years ago

I have already implemented the option for using the rightmost red button as substitute for the rev-gear-push-sensor so this is already there.