Actions, Keys, and User/Application Interaction (1 Viewer)

kaburke

Portal Pro
March 4, 2005
64
0
Alberta, Canada
Am I correct in assuming that all user input (keystrokes, mouse events, MCE Remote events, etc.) is "translated" into Actions before being dealt with by the appropriate segment of the application?
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
That's true for most actions. But not for all. Take a look at the sourcecode, so you understand what is "actioned" and what is not.
 

kaburke

Portal Pro
March 4, 2005
64
0
Alberta, Canada
Can you point me to somewhere where that is not the case? I have looked at the code, and it seems to me that all windows inherit GUIWindow, have the OnAction(...) method, and seem to deal with Actions.

I apologize if these are somewhat simplistic quesitons, but the codebase is rather large, and I'm uncertain as to where to look to determine how MediaPortal deals with user input.

Having said this, perhaps it would be more beneficial for me to get to the crux of the matter: I am writing a plugin that abstracts user input away from specific devices. My immediate goal is to write a plugin to allow the use of IR remotes with LiveDrive! IR receivers to control MediaPortal. Should I just be mapping user input device events to Actions, or do I need to be more granular to allow for complete control (i.e., do I have do map to non-Action events)?
 

Users who are viewing this thread

Similar threads

You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
Replies
5
Views
2K
So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because the movie list is splitted into chunks of a specified size and responses for each chunk are concentrated into the result list :) private async Task<string> GenerateResponseWithGPT(string searchQuery...
So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because...
Hi, I'm planning to write a plugin for MediaPortal 2, that supports users to find the right media items with help of AI...
Replies
6
Views
1K
MP1 MP2 MP2 - V2.4.1 Mouse support for timeshift DE
I guess it's really a rare case, most users use remote controls, then keyboards and last mouse. I tired to design things mouse friendly as much as possible, because it was almost impossible when I joined the team. As former WMC user I quickly decided to create a WMC-like skin which comes as close as possible in terms of appearance and...
I guess it's really a rare case, most users use remote controls, then keyboards and last mouse. I tired to design things mouse...
Hi, I am new to Media Portal, I am an avid Windows Media Center user, love it and trying to hold onto it as long as possible...
Replies
9
Views
2K
thank you Sir, issue is definitely resolved now, i uninstalled the problematic MSE altogether, plus i also now have optimized EPG grabbing configuration, thanks again for all the assistance, wow so much faster on everything now that MSE is out of the picture...MP WAF is now restored and FetchTV STB sits in the corner collecting dust :)
thank you Sir, issue is definitely resolved now, i uninstalled the problematic MSE altogether, plus i also now have optimized EPG...
Long time MP user, and recently upgraded to MP1.34, prior to this upgrade, i have for many years successfully used MP with fast and...
Replies
20
Views
1K
  • Sticky
MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
Well just tried that. Chose TV Channels and clicked "Clear". All channels cleared then did a rescan. What a shitshow! All channel number mappings a total mess: STV as Channel 1, W as Channel 18, BBC channels way down the list. Thanks for trying to help but this software, for me, is just a mess. Appreciate all the time you have...
Well just tried that. Chose TV Channels and clicked "Clear". All channels cleared then did a rescan. What a shitshow! All...
We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
Replies
76
Views
9K
Top Bottom