23 July 2014, 23:01 | #1 |
Registered User
Join Date: Jul 2014
Location: Mobile, AL
Posts: 16
|
Linux not swapping mouse buttons in emulation
I use an external wireless mouse with a MacBook Pro, which is set up to dual-boot into OS X and Linux Mint 17. The left and right buttons are swapped. I'm not running any special mouse drivers on either OS X or Linux; the buttons are swapped in system preferences.
In OS X, the swapped buttons work just fine in Amiga emulation. In Linux, however, the buttons revert to the default (primary click on left, secondary click on right) in the emulated Amiga environment, and only in the Amiga emulation. I would have thought the Linux mouse button settings would be global, the way they are in OS X. I guess that's not the case. Is there a setting that I'm missing somewhere? I know I can get a mouse utility for the Amiga to swap the buttons, but I think it would be better for it just to pick up the system setting. |
28 July 2014, 22:59 | #2 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Hi, unless the operating system swaps the buttons on a low level, it isn't feasible for FS-UAE to pick up such a setting from all possible desktop environments. So it would only work if the OS swaps the buttons before the button events reaches FS-UAE. Presumably, OS X does swap the buttons on a low level (FS-UAE is not aware of the buttons being swapped).
But it wouldn't be very hard for me to add a user-configurable setting for swapping the left and right mouse buttons, if that is desirable... |
30 July 2014, 00:39 | #3 |
Registered User
Join Date: Jul 2014
Location: Mobile, AL
Posts: 16
|
That would be great if it's not very difficult to do. The one button-swapping commodity I found doesn't work consistently in AmiKit. There is another, but it modifies the boot block. Not very helpful if you're using a directory for a hard drive.
|
30 July 2014, 15:03 | #4 |
Registered User
Join Date: Mar 2013
Location: Leipzig/Germany
Posts: 466
|
Hi,
xmodmap is low level enough and also affects fs-uae. Type Code:
xmodmap -e "pointer = 3 2 1" |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disk swapping on arcade machine with only a few fire buttons | geecab | support.WinUAE | 10 | 22 July 2014 00:13 |
Map spare gamepad buttons to left/right mouse buttons (for skipping intros) | dreamkatcha | support.FS-UAE | 6 | 02 February 2013 23:03 |
Lock mouse in window and disk swapping (E-UAE) | dar | support.OtherUAE | 1 | 24 January 2012 20:28 |
PAL & NTSC Via Holding Down Mouse Buttons | crazyegg | support.Hardware | 12 | 13 April 2010 21:58 |
Unresponsive Mouse Buttons? | Ze_ro | support.Hardware | 5 | 27 September 2006 18:17 |
|
|