Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Shift LED options #27

Open
parkerlreed opened this issue Aug 28, 2020 · 7 comments
Open

[Feature request] Shift LED options #27

parkerlreed opened this issue Aug 28, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@parkerlreed
Copy link

Found this which can interface with the wheel and LEDs

https://github.com/nightmode/logitech-g29

Ideally they would work in games but mapping them to other inputs is the next best thing.

Would it be possible to maybe have a section in oversteer to map the LEDs to another input? (In the example above they were mapped to the throttle axis)

As a side note: There apparently was a program to make the LEDs work in games but the link is dead and the file is nowhere to be seen https://steamcommunity.com/groups/linuxff/discussions/0/2119355556493928179/

@parkerlreed
Copy link
Author

I got the file from the post. It seems to use a built-in port in a couple games to get the shift status.

galights.c.txt

@berarma
Copy link
Owner

berarma commented Aug 29, 2020

As a side note: There apparently was a program to make the LEDs work in games but the link is dead and the file is nowhere to be seen https://steamcommunity.com/groups/linuxff/discussions/0/2119355556493928179/

Thanks! That's a very interesting find. Oddly enough, one of my first goals with Oversteer was to use the leds to display telemetry data. I gave up on this idea when I found out that most native Linux games don't have telemetry enabled, or so it seemed.

Maybe I was wrong. I have to look in detail at this piece of code to see what can be done.

Found this which can interface with the wheel and LEDs

https://github.com/nightmode/logitech-g29

Ideally they would work in games but mapping them to other inputs is the next best thing.

Would it be possible to maybe have a section in oversteer to map the LEDs to another input? (In the example above they were mapped to the throttle axis)

I see it more as a curiosity than something useful. Like any new feature it requires some time at implementation and specially maintaining through time. I don't think it would pay off.

@berarma berarma added the enhancement New feature or request label Aug 30, 2020
@berarma
Copy link
Owner

berarma commented Dec 19, 2020

I wasn't able to make the galights program work. It runs but the game never seems to connect to it. I've followed the instructions in the source code comments. Has it worked for someone?

@madbad
Copy link

madbad commented Jan 10, 2021

Hello there,
maybe slightly off topic, but I'm trying to implement LED use for shifting in Speed Dreams (under Leillo request).
Is the data structure to be used for the file
/sys/bus/hid/drivers/logitec/0003:046D:C29A.????/ffb_leds

the same as described here? :
https://github.com/nightmode/logitech-g29/blob/master/docs/api.md#leds

I dont have a wheel with leds so cant test myself

@berarma
Copy link
Owner

berarma commented Jan 10, 2021

Hello there,
maybe slightly off topic, but I'm trying to implement LED use for shifting in Speed Dreams (under Leillo request).
Is the data structure to be used for the file
/sys/bus/hid/drivers/logitec/0003:046D:C29A.????/ffb_leds

Hi madbad.

I'd prefer a new issue or even using my email since this isn't actually related to Oversteer, perhaps more related to new-lg4ff. It's just so conversations don't get mixed and buried.

Anyway, don't use that file, it's only for using the wheel LEDs as an FFB monitor. The files you need are /sys/bus/hid/drivers/logitec/0003:046D:C29A.????/leds/RPM?/brightness. In the same directory there's a max_brightness entry containing 1 because the only allowed values are 0 (off) and 1 (on).

the same as described here? :
https://github.com/nightmode/logitech-g29/blob/master/docs/api.md#leds

Yes, they are. LEDs are numbered RPM1, RPM2, and so on.

@berarma
Copy link
Owner

berarma commented Jan 22, 2021

Going back to the OPs request, there's this project: https://github.com/d4rk/ac_shifting_leds

I don't see me implementing it in Oversteer because it only works in a few games and it doesn't make sense for me to work on something with such a tiny scope. It would probably make sense in a more broad Telemetry application.

@isopix
Copy link

isopix commented Jan 22, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants