Hijack cannot detect when the player is dimming the display or not. All it can see is what the current display dimmer value is, and it can notice it being changed.
But it cannot tell whether the user is tweaking it, or the player is responding to headlight sense. Too bad.
But today I did rewrite the dimmer sense code so that it works for me again (try this: turn your headlights ON, and THEN start the car -- watch what happens to your buttonLEDs. If it's not obvious enough, then set "buttonled_off=0" in config.ini and try it again.
Speaking of which, there does already exist a buttonled_off=n parameter for specifying what you want to happen when the player is in standby. By default, Hijack just reduces the LED level (no lower than "1"), but this can be overridden by specifying a specific standby brightness level.
I also tweaked a few other buttonLED related routines, and it works better now for me.
Cheers
Edited by mlord (06/07/2002 13:20)