2007-12-16, 07:07 AM
Hi
Got some info on the Ky mappings:
But on base button UI List, I'm not actually doing any keycode processing, since it's being handled but the base classes.
So my question is, will it use the keymapping file, and if so, how do I tell it to use it?
Got some info on the Ky mappings:
Quote:Here is some info about using the key mappings. Its pretty straight forward, but if you have any questions, just ask
Code:Declare a variable of type GBPVR.Public.KeyCommandHelper:
private KeyCommandHelper keyHelper;
Initialise that variable in your plugin's initialisation function:
Code:keyHelper = new KeyCommandHelper("TVGuide.xml");
In OnKeyDown() check for commands:
Code:public bool OnKeyDown(KeyEventArgs e)
{
....
switch (keyHelper.KeyMapping(e))
{
case "GUIDE_SEARCH":
.... do some processing
break;
But on base button UI List, I'm not actually doing any keycode processing, since it's being handled but the base classes.
So my question is, will it use the keymapping file, and if so, how do I tell it to use it?