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

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
858
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
1K
  • Sticky
MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
Replies
70
Views
4K
MP1 MP2 Create .nfo files DE
Cheers, just came from there. :)
Cheers, just came from there. :)
I may not have this in the right forum, if so let me know and I will move it. I use MP1 mostly for watching the METRIC TONNE of TV...
Replies
2
Views
2K
I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose compatibility with almost every new version. And new skins are too 'fancy' for my taste. I use a customized version of the default wide skin with only Videos and TV in the main menu. I use mediaportal for recording...
I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose...
I've been using version 1.2.2.0 for years and have found no need to upgrade to newer version. I hate it that skins loose...
Replies
0
Views
2K
Top Bottom