Creating four dimensional control
-
I am trying to represent a virtual joystick on a User Interface although im having trouble trying to represent the 4 different axis of the joystick and the click on the top. The best i have come up with is a custom control to represent: x and y axis (using drag a cross in a circle technique) up and down (using a trackbar) button click (using a button) In real life all of these can be used at the same time however cannot with my combination of controls. Does anyone have any ideas how to represent the 4 axis and click functionality Thanx George
-
I am trying to represent a virtual joystick on a User Interface although im having trouble trying to represent the 4 different axis of the joystick and the click on the top. The best i have come up with is a custom control to represent: x and y axis (using drag a cross in a circle technique) up and down (using a trackbar) button click (using a button) In real life all of these can be used at the same time however cannot with my combination of controls. Does anyone have any ideas how to represent the 4 axis and click functionality Thanx George
The best I can suggest is to capture the mouse so you don't need to drag, replace the trackbar with the mousewheel, and use the keyboard for the button. Going to be a bit of a bitch for the user what ever you do - I would prefer using a real joystick?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
The best I can suggest is to capture the mouse so you don't need to drag, replace the trackbar with the mousewheel, and use the keyboard for the button. Going to be a bit of a bitch for the user what ever you do - I would prefer using a real joystick?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
That sounds like the best solution. Thanx for the help. It would be annoying for the user but i am an apprentice and this is a training project to try and create a virtual MCU so need to give it a go. The project will eventually use a real one but for now it needs to be a virtual representation.
-
The best I can suggest is to capture the mouse so you don't need to drag, replace the trackbar with the mousewheel, and use the keyboard for the button. Going to be a bit of a bitch for the user what ever you do - I would prefer using a real joystick?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
OriginalGriff wrote:
and use the keyboard for the button
Or use the mouse button?
There are three kinds of people in the world - those who can count and those who can't...
-
OriginalGriff wrote:
and use the keyboard for the button
Or use the mouse button?
There are three kinds of people in the world - those who can count and those who can't...
Try it on yours - move it, twiddle with the scroll wheel, and press the button - it's like pat your head / rub your stomach! Keyboard means you can divide the work between two hands, and makes it simpler...
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
Try it on yours - move it, twiddle with the scroll wheel, and press the button - it's like pat your head / rub your stomach! Keyboard means you can divide the work between two hands, and makes it simpler...
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
OriginalGriff wrote:
Keyboard means you can divide the work between two hands, and makes it simpler...
Spoken like a true PC gamer... ;P Of course the easy answer is to just plug in an XBox joypad - that's what I do :-D
There are three kinds of people in the world - those who can count and those who can't...
-
OriginalGriff wrote:
Keyboard means you can divide the work between two hands, and makes it simpler...
Spoken like a true PC gamer... ;P Of course the easy answer is to just plug in an XBox joypad - that's what I do :-D
There are three kinds of people in the world - those who can count and those who can't...
molesworth wrote:
Spoken like a true PC gamer
I did indeed spend a considerable amount of time with a subtle little game back in the nineties. "Doom" I think it was called... Ate most of my life for about three years. Or was it four? Lost track of time a bit back then due to lack of sleep.
molesworth wrote:
the easy answer is to just plug in an XBox joypad
My 360 is wireless, so that wouldn't help if I was doing the project. But Saitek joysticks aren't too expensive anyway and they can take some abuse. :-D [edit]changed: "Saitek joysticks are too expensive..." oops![/edit]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones