Accelerometer in Landscape mode

How can i put this code in Landscape mode?
In samples, this code is only for portrait in Landscape mode flying items from all sides without any sens

local function onTilt( event )  
 physics.setGravity( 10 \* event.xGravity, -10 \* event.yGravity )  
end  
  
Runtime:addEventListener( "accelerometer", onTilt )  

SOrry for my baaad english,.
[import]uid: 69841 topic_id: 30927 reply_id: 330927[/import]

Uhm, little rusty on this - does changing this to;
[lua]physics.setGravity( 10 * event.xGravity, -10 * event.yGravity )[/lua]
help? [import]uid: 52491 topic_id: 30927 reply_id: 123725[/import]

Uhm, little rusty on this - does changing this to;
[lua]physics.setGravity( 10 * event.xGravity, -10 * event.yGravity )[/lua]
help? [import]uid: 52491 topic_id: 30927 reply_id: 123725[/import]