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

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
665
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
991
Previous posts not related to this thread have been moved here
Previous posts not related to this thread have been moved here
While we are chatting, now get mad, you know that I said I would refactor the database to get rid of any redundancies. I've done...
Replies
396
Views
23K
So most probably it was your ip blacklisted and cleared again. Some websites are blocking for hours and some are for days. Ok then, enjoy :)
So most probably it was your ip blacklisted and cleared again. Some websites are blocking for hours and some are for days. Ok then...
Hi everyone. My name is Kivanc and I am the developer of Tempest EPG Generator which is a single php file xmltv formatted epg...
Replies
66
Views
6K
@Tomkon The reported issue was fixed. The fix will be part of next release. If you are interested I might create a test version and provide the link by message.
@Tomkon The reported issue was fixed. The fix will be part of next release. If you are interested I might create a test version...
Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
Replies
7
Views
1K
Top Bottom