View Single Post
Old 23 December 2016, 21:13   #11
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 20,634
Originally Posted by newoski View Post
OK, so here's what I'm trying and where I'm getting confused...

1. Set Game Ports to :
- Port 1: Windows Mouse
- Port 2: Keyboard Layout (Custom)
Better set both of them to none so that they don't override anything in Input panel. (Keyboard layouts are fine but anything else should be set to none because if both GamePorts and Input panel map to same event, GamePorts panel wins. This is by design.)

"Map it to mouse port. (X Axis = Joy1 Horizontal..)"
.. = map the rest too. Y = Joy1 Vertical, Joy1 Fire and so on..

1. Do I use HID-compliant mouse (2) selected for this?
Use Test-button to find the correct mouse. (This is side-effect of using rawinput, same device can appear multiple times)

2. (X Axis = Joy1 Horizontal..)
I don't see a Joy1 Horizontal option anywhere, under any compliant device
Additionally, isn't an Axis bi-directional? Wouldn't I want to map left and right... up and down?
Horizontal and Vertical is usually better option, this way joystick works like real joystick, can't activate both left and right or up and down at the same time.

Up/down/left/right are meant to be used when mapping keys or buttons to joystick.

Two example mapping screenshots attached.
Attached Thumbnails
Click image for larger version

Name:	input_mouse.png
Views:	42
Size:	16.2 KB
ID:	51447   Click image for larger version

Name:	input_joy.png
Views:	47
Size:	9.5 KB
ID:	51448  
Toni Wilen is online now  
Page generated in 0.09950 seconds with 10 queries