Control direction with arrow keys instead of mouse
- Megaf
- Member
- Posts: 99
- Joined: Fri Nov 01, 2013 18:00
- GitHub: megaf
- IRC: Megaf
- In-game: Megaf
- Contact:
Control direction with arrow keys instead of mouse
Hi, is there a way to control movement with arrow keys? Like good old FPS shooters or race games?
I would suggest the following configuration
ASWD leave as it is now.
UP = Look Up
Left and Right = rotation on y axis
Down = Look Down
I would suggest the following configuration
ASWD leave as it is now.
UP = Look Up
Left and Right = rotation on y axis
Down = Look Down
Last edited by Megaf on Tue Feb 11, 2014 19:27, edited 1 time in total.
Megaf Server v4.0 Address: mt.megaf.info Port 30003
-
- Member
- Posts: 50
- Joined: Fri Jan 24, 2014 09:58
- Megaf
- Member
- Posts: 99
- Joined: Fri Nov 01, 2013 18:00
- GitHub: megaf
- IRC: Megaf
- In-game: Megaf
- Contact:
I think many people would like that, for some is just more natural, for others is a matter of not having a mouse (having a touchpad).
In my case, well, I'm playing minetest remotely, using VNC, this way I can play minetest at my workplace
Problem is, playing with mouse over VNC does not work very well.
I'm creating a poll, so let´s vote for arrows direction support!
In my case, well, I'm playing minetest remotely, using VNC, this way I can play minetest at my workplace
Problem is, playing with mouse over VNC does not work very well.
I'm creating a poll, so let´s vote for arrows direction support!
Megaf Server v4.0 Address: mt.megaf.info Port 30003
- Evergreen
- Member
- Posts: 2135
- Joined: Sun Jan 06, 2013 01:22
- GitHub: 4Evergreen4
- IRC: EvergreenTree
- In-game: Evergreen
- Location: A forest in the midwest
- Contact:
-
- Member
- Posts: 11
- Joined: Sun Feb 09, 2014 20:15
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
- onpon4
- Member
- Posts: 518
- Joined: Thu Mar 21, 2013 01:54
- GitHub: onpon4
- In-game: diligentcircle
- Contact:
This would be a good start for making Minetest playable in situations where a mouse doesn't make sense (on the TV, with a laptop off of a table, etc). It would be even better if Minetest could support gamepads directly rather than having to use software like Qjoypad, but I guess that's harder, so starting with full-keyboard support makes sense.
Last edited by onpon4 on Wed Feb 12, 2014 01:02, edited 1 time in total.
My website: https://onpon4.github.io
- Megaf
- Member
- Posts: 99
- Joined: Fri Nov 01, 2013 18:00
- GitHub: megaf
- IRC: Megaf
- In-game: Megaf
- Contact:
Sure! That must be implemented with the arrows keys support!Novacain wrote:another thing that would be nice is dig buttons. say, ctrl = left click, alt = right click
Megaf Server v4.0 Address: mt.megaf.info Port 30003
this makes me wonder, would it really be that hard to add a few lines to the engine to add alternate input for arrow keys? this seems like it would take, at most, a couple hours to implement. We already have the turn function for the mouse, keyboard shouldn't be too hard to add.MrElmux wrote:In general i would suppose configurable inputs
- Excalibur Zero
- Member
- Posts: 142
- Joined: Tue Apr 02, 2013 19:45
- GitHub: ExcaliburZero
- Location: United States
- Contact:
In English it is called Mouse Keys. (https://en.wikipedia.org/wiki/Mouse_keys)Hybrid Dog wrote:It's already possible to control the mouse with the keyboard, in German, it's called "Tastaturmaus", I think.
- onpon4
- Member
- Posts: 518
- Joined: Thu Mar 21, 2013 01:54
- GitHub: onpon4
- In-game: diligentcircle
- Contact:
Mouse keys is designed for accessibility, not gaming... mouse keys on my system, for example, is a little choppy and very slow. Not to mention it's on the numpad, which laptops don't tend to have directly as normal keys; and diagonals are separate keys. I hope the suggestion of using mouse keys for playing Minetest is a joke!Excalibur Zero wrote:In English it is called Mouse Keys. (https://en.wikipedia.org/wiki/Mouse_keys)Hybrid Dog wrote:It's already possible to control the mouse with the keyboard, in German, it's called "Tastaturmaus", I think.
My website: https://onpon4.github.io
here's an idea: WASD for movement, IJKL for looking, U for item scroll left, O for item scroll right, R for dig node, Y for place node. FGH become noclip, fly and fast, C becomes inventory. when inside inventory, you could use arrow keys to navigate the boxes, and R for left click function, Y for right click function. T for stacks of ten.
And I personally would change drop from Q to P. it is too easy to drop something when you are going for the 1 key.
and the thing is, that is actually a fairly intuitive layout.
And I personally would change drop from Q to P. it is too easy to drop something when you are going for the 1 key.
and the thing is, that is actually a fairly intuitive layout.
- Megaf
- Member
- Posts: 99
- Joined: Fri Nov 01, 2013 18:00
- GitHub: megaf
- IRC: Megaf
- In-game: Megaf
- Contact:
I just talked on IRC to CiaranG and it seems like we are halfway of getting arrow keys!
So, now it's up to someone else to continue this.CiaranG and Megaf at #Minetest-Dev wrote:14:09:32 Megaf | Folks, I'm looking at the code trying to find an existing way to implement control via arrow keys instead of mouse, but I can't find anything very clear, can anyone help?
15:11:34 CiaranG | Megaf: Try this: https://github.com/CiaranG/minetest/com ... 868d01af7c
...
15:14:03 Megaf | CiaranG: did you request a pull?
15:14:27 CiaranG | No. There is a problem that I would want to resolve before I thought about that.
15:15:00 CiaranG | If you map the left/right mouse click to something else (i.e. a key) you can't then map it back to the mouse button (because the gui captures the mouse clicks)
15:15:19 CiaranG | (of course, you could just change the config file to map it back)
15:15:45 CiaranG | But it's good enough for what I needed it for, so I haven't tried to fix that yet. It's probably very easy.
...
15:58:56 Megaf | Ok, thank you CiaranG
Megaf Server v4.0 Address: mt.megaf.info Port 30003
I'm pretty sure just temporarily disabling the GUI capture of the mouse while the 'Press a new key' bit is active will solve the only problem that I'm aware of. Everything else about it works fine for me.Megaf wrote:I just talked on IRC to CiaranG and it seems like we are halfway of getting arrow keys!
If I get time at the weekend I'll take a look at doing that.
Re: Control direction with arrow keys instead of mouse
Has anything happened with this so far? {BUMP} lol Are bumps allowed here? -Sorry if not :) I just want to know :)
-Murkle
- Wuzzy
- Member
- Posts: 4804
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: Control direction with arrow keys instead of mouse
No.
But I agree with the feature. Minetest's controls need a lot of work.
See here:
- https://github.com/minetest/minetest/issues/4536
- https://github.com/minetest/minetest/issues/2361
But I agree with the feature. Minetest's controls need a lot of work.
See here:
- https://github.com/minetest/minetest/issues/4536
- https://github.com/minetest/minetest/issues/2361
Who is online
Users browsing this forum: No registered users and 21 guests