Code: Select all
minetest.register_aux_key({
auxnum = [Some Aux key number (keyboard and mouse)],
action = function(pos, player, [etc.])
[Do job assigned to this key]
end,
})
Code: Select all
minetest.register_aux_key({
auxnum = [Some Aux key number (keyboard and mouse)],
action = function(pos, player, [etc.])
[Do job assigned to this key]
end,
})
That is correct as far as I understand and after having searched for related issues and PRs for a bit.
Please do go ahead. That would benefit a lot of people. It is relatively easy for PC but you need to bring forward a design that won't leave mobile players behind either. You should be able to get help familiarising yourself on the "Partly official engine development" forum section. You'll need to understand what input libraries we use and where in the stack - remember that Minetest is split into the core C++ application and the forked irrlichtMt library under that.
Users browsing this forum: No registered users and 3 guests