From: Michael R. <re...@eu...> - 2004-10-17 17:19:25
|
Hi Martin, >> Well, all you have to do is specify "LCM-162" as a "Model". You don't >> even need to specify a wiring, because this model is hard-wirde (and >> uses busy-flag checking!) > Worked like a charm. I already have lots of ideas about how to put those > buttons to good use (since you already provided the polling thread), but > I'll have to look at what would easily integrate into lcd4linux. The > obvious thing would be to define more than the amount of visible lines, > and then use the up and down keys to scroll through that "virtual > window". But we'll see. Of course, this will be one of the first uses. I already have som ideas: There will be sort of a central "event scheduler", where drivers can deliver events (key presses, alarms from temp sensors or fan rpm measurements, timer events, ...) and one can register "handlers" which will be called for every event. There may be some sort of "event classes", where a handler can be registered to. Providing a "scrolling" feature will be quite easy. There are already two framebuffers in every driver, one of the size of the display, the other of the size of the layout. So one just has to modify the offset where one framebuffer will be copied to the other one. What I have to do for the nexcom box is to provide a capability to manually set up the IP address (along with netmask, gateway and other networking stuff) with the display and keypad only. This will be far more complicated. Honestly, I don't have any idea right now. Maybe there will be some special widgets for this? > If only that box wasn't so loud - it's obviously no problem once I put > it into the 19' rack in the server room, but since the box is on my desk > at the moment, the noise is driving me nuts (makes me appreciate my > _completely_ silent soekris boxes even more). Well, I even appreciate the sound of my vacuum cleaner :-) -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |