V-USB and the suspend mode


I am using the library V-USB from ObDev. With this library I can have an extension for my keyboard. I want to detect the suspend mode of the host, so I can turn off a LED if the PC is in suspend mode and if it wakes up, it should turn on. I tried a few things like checking the SE0 (USBIN & USBMASK) or check if the device is ready to send keystrokes (usbInterruptIsReady), but it always turned on. I also tried an interrupt at the D- pin, so I can use it to count the SOFs.

Is it implemented already, so you can use it easily or is there another method to detect the suspend mode?

Regards, Alex-Digital

PS: If I am in the wrong category with this, can a moderator move it? Thanks.