/// Grab key events
MainWindow.KeyGrab(ElmSharp.EvasKeyEventArgs.PlatformHomeButtonName, true);
MainWindow.KeyGrab(ElmSharp.EvasKeyEventArgs.PlatformMenuButtonName, true);
+ MainWindow.KeyGrab("XF86SysMenu", true);
MainWindow.KeyGrab("Up", false);
MainWindow.KeyGrab("Down", false);
MainWindow.KeyGrab("Left", false);
notification.OnHomeKeyPressed();
}
}
- else if (e.KeyName.CompareTo(ElmSharp.EvasKeyEventArgs.PlatformMenuButtonName) == 0)
+ else if (e.KeyName.CompareTo(ElmSharp.EvasKeyEventArgs.PlatformMenuButtonName) == 0 ||
+ e.KeyName.CompareTo("XF86SysMenu") == 0)
{
if (notification != null)
{
{
if (index == panelName)
{
- DebuggingUtils.Dbg(index.ToString() + " To Focused");
+ //DebuggingUtils.Dbg(index.ToString() + " To Focused");
item.ChangeStatus("focused");
}
else
{
- DebuggingUtils.Dbg(index.ToString() + " To Default");
+ //DebuggingUtils.Dbg(index.ToString() + " To Default");
item.ChangeStatus("default");
}