[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: My Xserver (kdrive, Xfbdev) driver loops too quickly
From:       Orkie <orkie () orkiesrealm ! co ! uk>
Date:       2006-06-30 8:58:48
Message-ID: 20696279.486411151657928748.JavaMail.servlet () kundenserver
[Download RAW message or body]

> No, I think you're right.  If there's no way to get an interrupt out of the 
> hardware when the buttons are pressed, then you'll probably want to change 
> your driver to just poll periodically.  Check out the timer code in 
> os/WaitFor.c, and pick a polling frequency that you can live with.
> 
> - ajax

Thanks, I've written a loop to control the time between calls of the main driver \
function and it works great.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic