Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Mobile Buttons

  • #1, by darren-beckett 11 years ago Zitieren
    Is there a way i can assign Key Actions to the Mobile Phone Back or Home buttons?
    I'd like to show the Main Menu if the users presses the back key.
  • #2, by afrlme 11 years ago Zitieren
    Um if they aren't in the list of available key actions then they might be available in the Lua script keyEventHandler which has access to a lot more keys than the key actions section of the editor.

    http://wiki.visionaire-tracker.net/wiki/RegisterEventHandler (check example 3)

    P.S: I believe you might be able to use the keycode value to check if it's a specific key being pressed as not all of them are included as eEvtKeyName in the engine, as far as I'm aware. You can find a table of keycodes here.
  • #3, by darren-beckett 11 years ago Zitieren
    Nice one!
  • #4, by darren-beckett 11 years ago Zitieren
    How can i detect 2 finger pinch-zoom?
  • #5, by afrlme 11 years ago Zitieren
    Hmm I believe mobile gesture support was added to the latest public build, to a degree, but I have no clue how to access / script it. Simon? grin
  • #6, by SimonS 11 years ago Zitieren
    I'm working on a pinch zoom script for Daedalic, but because they wanted to exclude a lot of things I need to rework it and that isn't finished yet.