View Single Post
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#7
Originally Posted by marxian View Post
it will be possible to use the same remote with QML aswell as widgets (I'll be working on Harmattan and Symbian versions soon-ish), though in some cases it may make sense to tweak the layout a bit.
Cool. BTW, let me ask -- are you just exposing a "clicked()" interface to the buttons, or are "pressed()" and "released()" also available? (I guess I should take a look for myself... ) Many CIR remotes have special behaviors when a button is held down (particularly useful for things like volume controls).

Less bloat is better, but since it's important that remotes can be created as easily as possible, convenience is also a factor, so enabling the use of existing LIRC config files is attractive. However, if a Pierogi library was available that already provided configs for the remotes that people want to use, that could be a good alternative.
For least bloat, you'd probably do best by avoiding both LIRC and Pierogi. The LIRC server has been designed as a one-size-fits-all mechanism, trying to support every possible combination of on and off pulses in every protocol in one single massive code path. Pierogi goes the other way, creating a custom method for each CIR protocol, so the hardware driver is much simpler (and far more efficient). On the other hand, I'm also trying to store every keyset of every device in the entire known universe. I guess maybe something like grabbing the Pierogi protocol engine and leaving the keyset data behind might make the most sense for a MultiMote backend...

I'll be implementing the bluetooth support first (I want a BT mouse and keyboard remote ).
Very cool. I've been taking a look at the bluetooth stuff myself (particularly as many devices are moving to bluetooth for remote purposes, and I'd like to get that into Pierogi as well), but I haven't gotten very far with it...
 

The Following 2 Users Say Thank You to Copernicus For This Useful Post: