Originally Posted by sirinsidiator
MAIN_MENU = MAIN_MENU_KEYBOARD
problem solved?
|
close I think... But a whole new UI if I want to support gamepad mode...
Since MailLooter exists in the main menu structure.
- I changed MAIN_MENU to MAIN_MENU_KEYBOARD.
- For hot key to open the window:
Code:
if not SCENE_MANAGER:IsShowing("mailLooter") then
if IsInGamepadPreferredMode() then
-- Nothing for now...
UI.queuedCommand = nil
else
MAIN_MENU_KEYBOARD:ShowScene("mailLooter")
end
else
...
Potentially a lot of checking the game pad mode in the future.