dMZX Forums: Extended Mouse Input Recognition -> Archived Requests -> Tracker

Jump to content

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
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #409: Extended Mouse Input Recognition

#1 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,960
  • Joined: 12-October 00
  • Gender:Male

Posted 01 January 2012 - 01:00 AM

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).
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


Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 13)

#2 User is offline  
zzo38 

  • Registered members
  • PipPipPip
  • Group: Members
  • Posts: 445
  • Joined: 16-May 08
  • Gender:Not Telling

Posted 12 January 2012 - 02:29 AM

I think it does recognize middle button
In Capitalist America, law violates YOU!

"Potion of Confusing": Solve all the puzzles, hold second one as you hold a pencil, and save gibbering mouthers from the king's army.

#3 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,960
  • Joined: 12-October 00
  • Gender:Male

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

#4 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

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

#5 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

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?
"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

#6 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

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]
"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

#7 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

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)
"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

#8 User is offline  
ajs 

  • carpe diem
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,614
  • Joined: 21-October 00
  • Gender:Male
  • Location:United Kingdom

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.

#9 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,960
  • Joined: 12-October 00
  • Gender:Male

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

#10 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

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)

/*

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

#11 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

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:

/*

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

#12 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

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

#13 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

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

#14 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 29 June 2017 - 06:49 AM

Moving to: Archived Requests


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2025  IPS, Inc.