The Following 4 Users Say Thank You to Copernicus For This Useful Post: | ||
|
2012-02-18
, 01:04
|
|
Posts: 1,986 |
Thanked: 7,698 times |
Joined on Dec 2010
@ Dayton, Ohio
|
#232
|
Is the point of the project to implement all of LIRC's database or just to add keysets when requested?
Why don't you make a way to enable the community to contribute with keyset data/import from LIRC instead of channeling everyone's wishes through you?
I think it would be cool to show information which remotes/devices are supported for each keyset inside Pierogi.
Also... could you get this one in http://lirc.sourceforge.net/remotes/sony/RM-887
The Following 4 Users Say Thank You to Copernicus For This Useful Post: | ||
|
2012-02-18
, 01:57
|
Posts: 34 |
Thanked: 29 times |
Joined on Oct 2011
@ Plovdiv, Bulgaria
|
#233
|
Good question! In fact, a couple months back, I started the project planning to use the same scheme QtIrreco does -- reading individual LIRC config files provided by the user. Even as I started creating my own internal database of keysets, I still intended to keep the ability to import LIRC config files.
....
My problem has always been that I just don't have enough data. The Wiki page with the Compatible Devices List should hopefully make this more useful...
So almost all Sony TVs should be supported directly from the Sony TV Keyset 1. I've checked, and the RM-887 keys fall into that keyset as well. If it doesn't work for you, please let me know!
|
2012-02-18
, 02:20
|
|
Posts: 1,986 |
Thanked: 7,698 times |
Joined on Dec 2010
@ Dayton, Ohio
|
#234
|
// The "Sony TV Keyset 1" constructor! SonyTV1::SonyTV1( QObject *guiObject, unsigned int index) : PIRKeysetMetaData( "TV Keyset 1", Sony_Make, index) { addControlledDevice(Sony_Make, "KV-M1420D", TV_Device); addControlledDevice(Sony_Make, "KV-20FV10", TV_Device); addControlledDevice(Sony_Make, "KV-2184MT", TV_Device); // and so forth.... threadableProtocol = new SIRCProtocol(guiObject, index); addSIRC12Key("1", One_Key, 0x01, 0x0); addSIRC12Key("2", Two_Key, 0x01, 0x1); addSIRC12Key("3", Three_Key, 0x01, 0x2); addSIRC12Key("4", Four_Key, 0x01, 0x3); addSIRC12Key("5", Five_Key, 0x01, 0x4); addSIRC12Key("6", Six_Key, 0x01, 0x5); addSIRC12Key("7", Seven_Key, 0x01, 0x6); addSIRC12Key("8", Eight_Key, 0x01, 0x7); addSIRC12Key("9", Nine_Key, 0x01, 0x8); addSIRC12Key("0", Zero_Key, 0x01, 0x9); addSIRC12Key("enter", Enter_Key, 0x01, 0x0B); // And so forth...
Unfortunately it does not. Neither it does with any of the other Sony TV keysets. I will give it another try tomorrow just to be sure.
The Following User Says Thank You to Copernicus For This Useful Post: | ||
|
2012-02-18
, 03:34
|
|
Posts: 1,986 |
Thanked: 7,698 times |
Joined on Dec 2010
@ Dayton, Ohio
|
#235
|
The Following 2 Users Say Thank You to Copernicus For This Useful Post: | ||
|
2012-02-18
, 11:11
|
Posts: 34 |
Thanked: 29 times |
Joined on Oct 2011
@ Plovdiv, Bulgaria
|
#237
|
|
2012-02-18
, 11:44
|
|
Posts: 1,986 |
Thanked: 7,698 times |
Joined on Dec 2010
@ Dayton, Ohio
|
#238
|
I think initializing every keyset as an object (that initializes several more in itself) might be the source of the memory hogging.
If you place the keysets in separate files and let the app collect the filename list on startup, initializing only one generic keyset object and replacing it's routines and commands each time you choose another one, you are going to get rid of the memory problem and migrate to a config file architecture.
Heck, if you load all the files in the memory as a binary data and initialize only one at a time, you are going to save more memory
About pairing, I have no idea what that is... It is an old CRT TV that I doubt is smarter than - receive IR commands, execute them...
|
2012-02-18
, 12:40
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#239
|
|
2012-02-18
, 12:50
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#240
|
This is time consuming work, and I don't really expect people to just sit in front of their device and hit every single button in Pierogi. But I'd love to hear about it if and when a keyset does not perform as expected...