lars.saalbach Posted February 27, 2013 Share Posted February 27, 2013 Hey Guys, anyone got a solution for disabling function keys like F1, F3, F6? I locked the console with (console.setLock(1)) but users can still press F6 "F6 — restore the saved state." is executed, how can i disable this? Didn't find any solution for that Greetings Lars Link to comment
frustum Posted February 27, 2013 Share Posted February 27, 2013 engine.controls.setStateKey(CONTROLS_STATE_SAVE,0); engine.controls.setStateKey(CONTROLS_STATE_RESTORE,0); Or clear them values in the default config. The default keyboard mapping is performed in the /data/core/scripts/system/system.h file at 1205 line. Link to comment
lars.saalbach Posted February 27, 2013 Author Share Posted February 27, 2013 Hey Frustrum, Big-Thanks!!! :) Greetings Lars Link to comment
Recommended Posts