Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] Pierogi - a universal infrared remote control app

    Reply
    Page 117 of 140 | Prev | 107   115     116   117   118     119   127 | Next | Last
    chill | # 1161 | 2014-04-26, 06:50 | Report

    Copernicus, you echo my thoughts exactly. Not having an IR receiver and currently being too cheap and busy to buy a receiver and learn to "learn" the codes, I guess I'll just stick with the remote that came with the TV.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to chill For This Useful Post:
    Copernicus

     
    uros | # 1162 | 2014-04-26, 07:28 | Report

    Great app @Copernicus kudos, really great job. Pierogi just work with all devices at home, just one TV resist - Bang&Olufsen TV set. Any hint where to look for solution?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Copernicus | # 1163 | 2014-04-26, 12:25 | Report

    Originally Posted by Estel View Post
    If I would change something, it would be color of Pierog (singular) there - from artificial yellow to more natural-looking, edible one.
    Will do! Or, at least I'll give it a try -- I'm amazed at how easy it is to create these vector images, but I'm really no artist.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Copernicus For This Useful Post:
    Estel, mr_pingu, nokiabot

     
    Copernicus | # 1164 | 2014-04-26, 12:43 | Report

    Originally Posted by uros View Post
    just one TV resist - Bang&Olufsen TV set. Any hint where to look for solution?
    Ah, Bang & Olufsen -- I've always wanted to test if the N900 could actually handle one of those. With B&O, the key is the carrier frequency: basically, every manufacturer working with CIR devices has chosen to send their data at a frequency of around 38 kilohertz (or, sometimes, around 56 kilohertz); for various reasons, those speeds could be reached by common and inexpensive electronics components. But B&O (and nobody else, so far as I know), decided to use a carrier frequency of 455 kilohertz in their remote controls.

    Technically, it is possible to set the N900's IR carrier frequency all the way up to 500 kilohertz (or, at least, that's what the device driver will accept); but I've never tried it against a real device. Also, there are just very few config files available; I've got one for a "Beo4" remote, which has some TV controls -- let me try to add it in, and see what happens...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to Copernicus For This Useful Post:
    Estel, Fatalist, mr_pingu, pichlo, sixwheeledbeast, uros

     
    uros | # 1165 | 2014-04-26, 14:12 | Report

    Good news for frequency issue, I have Beo4 too, well, lets play

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to uros For This Useful Post:
    Copernicus

     
    Copernicus | # 1166 | 2014-04-27, 05:27 | Report

    Well, I've gotta say, I'm learning a lot from the effort to port to Android. For one thing, while the tabbed-panel interface is just barely workable in landscape mode, it is completely useless in portrait (which is what I need on all current Android devices with IR). I can barely get three tabs on the screen at once. The Android UI itself has a wonderful finger-flickable tab interface, but Qt doesn't yet have access to it. It's exactly what I want; in fact, it looks more like just a horizontal list of labels than a set of tabs. Which got me thinking: "Wait. A horizontal list?"

    I checked, and yes, the Qt List Widget can work horizontally as well as vertically. For some reason, I never even thought about that before; last year, I had tried things like attaching a combo box to stacked widget to construct my own pseudo-tab-widget, but it never really worked. In fact, I still had all that code mothballed, so I just swapped out the combo box with a horizontal list widget, and voila, scrolling tabs just as nice as anything Android can provide!

    Now, this is using Qt 5; but I checked Qt 4.8, and pretty much everything I needed was there as well (although, in a slightly rougher form). It took a little bit of effort, but double voila, scrolling tabs on the N900! And not just scrolling tabs, finger-flickable scrolling tabs. I'll append a screenshot to this post. Basically, if you need to move the tab bar to get to the tab you need, just drag your finger across it to pull it one way or the other.

    What this really means is that I'm no longer restricted to just 5 or 6 panels in a set! To start with, I've gone ahead and added the "Input" and "Adjust" panels to the default set. This means that I no longer have to try and squeeze the input selector into the Utility panel, so I've put that guy back to his good old 3-row self. (I've also gone ahead and added some common input buttons to the input panel; the top row has a few devices, and the second row has a few connection formats.)

    So, Pierogi 1.1.33 has been pushed up to extras-devel, containing these changes. Please tell me what you think. (One more thing I should note -- I've used some Qt stylesheets to make the list of tabs look more like a tab bar should; but I don't know if that will interfere with custom N900 themes. If you've got a custom theme, and are having problems with this version of Pierogi, please let me know.)

    Oh, BTW, on Bang & Olufsen -- this is going to take some effort. These guys have come up with a protocol that is totally their own. For one thing, they use a trinary number system, rather than binary -- they have values for "0", "1", and "Same as the previous bit". For some reason, you aren't allowed to send two consecutive "0" or "1" bits; so, if you want to send the number 12 (binary 1100), you'd send "1", "Same as the last bit", "0", "Same as the last bit".

    Also, they have at least 4 different ways of repeating a command. And an entirely novel way of switching a remote control between different keysets (which I'm still trying to wrap my head around). Getting a keyset up and running for them is going to be fun...

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

    Last edited by Copernicus; 2014-04-27 at 05:46.
    The Following 8 Users Say Thank You to Copernicus For This Useful Post:
    Android_808, chill, Fatalist, foobar, nokiabot, pichlo, sixwheeledbeast, sowwhatyoureap

     
    Android_808 | # 1167 | 2014-04-27, 08:07 | Report

    I like the new tab bar, very slick.

    One small issue though, drag your finger across it and when lifted another tab is highlighted but not selected. not a big issue but could confuse some if done accidentally.

    is it possible to put panel filter in the actual remote definition? would prevent tv controls being displayed instead of audio receiver when switching remote.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Android_808 For This Useful Post:
    Copernicus, mr_pingu

     
    Copernicus | # 1168 | 2014-04-27, 10:46 | Report

    Originally Posted by Android_808 View Post
    One small issue though, drag your finger across it and when lifted another tab is highlighted but not selected. not a big issue but could confuse some if done accidentally.
    Drat! I thought sure I had fixed that problem. (It was happening for me as well, until I changed the signal I was looking for from "currentRowChanged()" to "itemActivated()".) Can I ask, does this happen to you if, for example, you go to "Select Keyset" from the menu, and drag the list of keysets up and down? I'm using the same technique there...

    Originally Posted by
    is it possible to put panel filter in the actual remote definition? would prevent tv controls being displayed instead of audio receiver when switching remote.
    I have been wanting to try something like that. It just requires that I do a bit more work. Up to now, my panel sets have been something I put together kind of informally; so, the link between a particular set and a particular sort of device is kind of abstract. I just need to write all that down in a form the N900 can understand.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Copernicus For This Useful Post:
    mr_pingu

     
    mr_pingu | # 1169 | 2014-04-27, 11:13 | Report

    I can confirm that but it only happens on Panels with no scrollable tabs

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to mr_pingu For This Useful Post:
    Copernicus, sixwheeledbeast

     
    Copernicus | # 1170 | 2014-04-27, 11:35 | Report

    Originally Posted by mr_pingu View Post
    I can confirm that but it only happens on Panels with no scrollable tabs
    Oops, I didn't even think to test that. Thanks!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 117 of 140 | Prev | 107   115     116   117   118     119   127 | Next | Last
vBulletin® Version 3.8.8
Normal Logout