Back

SetOnKey

Called when device key was pressed.

  app.SetOnKey( callback )

function()