[ Maverik Level 1 functions ]


mav_navigationKeyboardDefault

Summary

The default implementation of keyboard navigation


Syntax

int mav_navigationKeyboardDefault(MAV_object *o, MAV_keyboardEvent *e);


Description

This function is the default implementation of keyboard navigation and is used as the second argument to mav_navigationKeyboard, i.e.

mav_navigationKeyboard(mav_win_all, mav_navigationKeyboardDefault);

It provides the following ``Doom'' style controls:

Linear translations assume that the application is using meters as its units.

Control of the default keyboard navigation, via mav_navigationKeyboardDefaultParams, is more limited that the mouse variety since you can't redefine the actions taken by the various keys.


See also

mav_navigationKeyboard.html>mav_navigationKeyboard, mav_navigationKeyboardDefaultParams.html>mav_navigationKeyboardDefaultParams, mav_navigationMouseDefault.html>mav_navigationMouseDefault


Back to the index page.