MZX recognizes left and right button presses. Requests have been made for handling of the scroll wheel and possible other mouse buttons (e.g. side buttons).
Report ID | 409 | Title | Extended Mouse Input Recognition |
Product | Archived Requests | Status | Implemented (Severity 2 - Fair) |
Version | 2.90 | Fixed in | GIT |
Page 1 of 1
Report ID #409: Extended Mouse Input Recognition
Page 1 of 1
Replies (1 - 13)
#3
Terryn
Posted 12 January 2012 - 12:22 PM
MZX doesn't detect what I mentioned. You are indeed right, though; it does detect middle button. Middle button detection was added sometime (undocumented) between s1 and s3.1; I haven't bothered to pin it down to specific versions.
angelic stream - shed sanguine - ill-adapt - avis - para/lyser - renaissance - dead tangent - phosphene blur - birth breeds death - ________ - painted glass - lagniappe
<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111
<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111
#4
Lachesis
Posted 29 April 2012 - 07:13 PM
This would be useful.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#5
Lachesis
Posted 17 May 2012 - 08:24 AM
Updating status to: Approved
Updating severity to: 2 - Fair
Updating version to: GIT
Approved for no particular version. Any suggestions for extended mouse input values to the BUTTONS counter?
Updating severity to: 2 - Fair
Updating version to: GIT
Approved for no particular version. Any suggestions for extended mouse input values to the BUTTONS counter?
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#6
Lachesis
Posted 28 May 2012 - 05:32 AM
Updating version to: 2.84
Easy to implement, could be in 2.84. I think we decided on:
0 - Left
1 - Right
2 - Middle
3 - Scroll Down
4 - Scroll Up
5 - Aux Left
6 - Aux Right
7 - [whatever]
Easy to implement, could be in 2.84. I think we decided on:
0 - Left
1 - Right
2 - Middle
3 - Scroll Down
4 - Scroll Up
5 - Aux Left
6 - Aux Right
7 - [whatever]
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#7
Lachesis
Posted 28 May 2012 - 03:14 PM
Updating version to: 2.85
Kicking this to 2.85. Too late for 2.84 now...
(and for the curious, those are bit numbers in the last post, not actual values, sorry for any confusion)
Kicking this to 2.85. Too late for 2.84 now...
(and for the curious, those are bit numbers in the last post, not actual values, sorry for any confusion)
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#8
ajs
Posted 23 December 2012 - 07:59 AM
I would personally limit the number of buttons supported to the first 5 you listed, to prevent people from using buttons from fancy mice that most people don't have. There's near universal support for a 'left button' and the mousewheel these days; right click and middle click are secondary for non-PC platforms.
--ajs.
--ajs.
#9
Terryn
Posted 23 December 2012 - 09:56 PM
Well, I agree in that having default settings of any MZX game extend past the mouse wheel is a pretty horrible idea, but it's more for the sake of control customization. Some MZX devs are wising up and taking the extra effort of allowing customizable controls in their games.
angelic stream - shed sanguine - ill-adapt - avis - para/lyser - renaissance - dead tangent - phosphene blur - birth breeds death - ________ - painted glass - lagniappe
<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111
<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111
#10
Lachesis
Posted 18 May 2017 - 03:16 AM
notes:
(in SDL, right is actually 4, and middle is actually 2. I've swapped them here for MZX consistency reasons)
(in SDL, right is actually 4, and middle is actually 2. I've swapped them here for MZX consistency reasons)
/* SDL2: Left - 1 Right - 2 Middle - 4 X1 - 8 X2 - 16 Scrollwheel - separate event SDL 1.2.15 source code: Left - 1 Right - 2 Middle - 4 Scroll up - 8 Scroll down - 16 X1 - 32 X2 - 64 Scroll left/right - undocumented asgromo, using a drawing tablet on SDL 1.2.15 on Solus 2017.04.18.0 64-bit Left - 1 Right - 2 Middle - 4 Scroll up - 8 Scroll down - 16 Scroll left - 32 Scroll right - 64 X1 - 256 X2 - 128 */
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#11
Lachesis
Posted 18 May 2017 - 07:48 PM
Issue fixed in: GIT
Implemented in GIT 0b51623 with a tentative mapping based on X11, as it includes all four wheel directions and the X1/X2 buttons. This requires testing on other platforms. The new mapping is:
Implemented in GIT 0b51623 with a tentative mapping based on X11, as it includes all four wheel directions and the X1/X2 buttons. This requires testing on other platforms. The new mapping is:
/* 1 - Left 2 - Right 4 - Middle 8 - Wheel up 16 - Wheel down 32 - Wheel left 64 - Wheel right 128 - X1 256 - X2 */
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#12
Lachesis
Posted 18 May 2017 - 08:55 PM
Note that the ajs build of SDL 2 for Windows seems to be lacking wheel left and right support. I copied my building instructions to the wiki to help anyone who needs to rebuild it in Windows.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#13
Lachesis
Posted 25 May 2017 - 04:35 AM
Updating status to: Implemented
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
Page 1 of 1
0 User(s) are reading this issue
0 Guests and 0 Anonymous Users
Powered by IP.Tracker 1.3.2 © 2025 IPS, Inc.