Page 1 of 1

Adding new key-bindings

PostPosted: Thu Jan 16, 2014 02:04
by Tedypig
Hi, can you add key-bindings with Lua, or would it have to be done with the engine with C++? I want to add bindings for look (up, down, left, and right) so I can use my 360 controller with Minetest. Thanks for any and all help. :)


EDIT: Also bindings for the three mouse functions (left click, right click, and scroll)

PostPosted: Thu Jan 16, 2014 06:31
by sfan5
You better use Xpadder if you want to use a gamepad with Minetest.

PostPosted: Thu Jan 16, 2014 20:24
by Tedypig
I cannot use Xpadder, it's not free. I am broke right now, I'm even using my phones internet (via tether) to write this. I am using j2k (joy 2 keys) and it doesn't support mouse movements and clicks. It's the only free controller support program I could find. I know that you make your own builds, could you tell me how to add button look, build, and destroy? I would be very thankful. Thanks. :)

PostPosted: Thu Jan 30, 2014 10:50
by DeepGaze

PostPosted: Thu Jan 30, 2014 12:11
by Pitriss
qjoypad is working good for me