Switch off the LED when xboxdrv is shut down
This commit is contained in:
parent
813e5ed302
commit
d3893d7c5c
2 changed files with 5 additions and 0 deletions
2
NEWS
2
NEWS
|
@ -3,6 +3,8 @@ xboxdrv 0.7.1 - (??/???/2011)
|
|||
|
||||
* compatibility with older libudev versions
|
||||
* fixed some missing #include directives
|
||||
* new match rule usbserial=SERIAL
|
||||
* fixed LED not getting switched off on shutdown
|
||||
|
||||
|
||||
xboxdrv 0.7.0 - (28/Jan/2011)
|
||||
|
|
|
@ -159,6 +159,9 @@ XboxdrvThread::controller_loop(const Options& opts)
|
|||
|
||||
watch_chid_process();
|
||||
}
|
||||
|
||||
// set LED back to black
|
||||
m_controller->set_led(0);
|
||||
}
|
||||
catch(const std::exception& err)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue