Scroll wheel support?

Troubles with your machine? Just want to speak about the latest improvements? This is the place!

Moderators: Mug UK, Zorro 2, spiny, Greenious, Moderator Team

User avatar
Foxie
Captain Atari
Captain Atari
Posts: 354
Joined: Wed Feb 03, 2016 7:12 pm

Re: Scroll wheel support?

Postby Foxie » Thu Mar 01, 2018 11:30 pm

joska wrote:What does this acc do? Translate events from this piece of hardware to simulated keyboard events?


Yeah, it's basically just a joystick to keyboard converter. Pretty simple, but also pretty useful.


[quote="ranix"]can joystick port 2 be a mouse? maybe what you really need is to make a driver that will intercept one of the axes of the 2nd mouse port and treat that as a scroll wheel[quote="ranix"]

Unlike the Amiga, you can't normally use a mouse in the joystick port. However, you could probably write some software to make that possible - it might mean uploading custom keyboard firmware. MWheel is an already existing driver which converts joystick events into scroll wheel events. It directly scrolls GEM windows, and when there's no window present it will map to up/down cursor key events.

MWheel seems to support several pieces of hardware. There's the "Jerry" hardware which allows connection of a PS/2 scroll wheel mouse to both mouse and joystick ports.

User avatar
Foxie
Captain Atari
Captain Atari
Posts: 354
Joined: Wed Feb 03, 2016 7:12 pm

Re: Scroll wheel support?

Postby Foxie » Thu Mar 01, 2018 11:40 pm

arf wrote:
Foxie wrote:
Galvez wrote:Similar to the second way you explain there was this adapter (web site in German):
This looks very interesting! Unfortunately, all the documentation is in German and I can't figure out how to use it. It says you can launch it from the desktop, but it prints something to the screen and exits. I think it failed for some reason.


It would be easier to jump in and help if you could perhaps post a screenshot of the error?


When I run mwheel (from auto or directly) it shows this:

grab0001.png


When I run xtrapper.prg it just returns to the desktop without printing anything. Then running mwheel.prg again results in the same message. I've also tried with xtrapper in auto.

I think that message is saying trapper is not found?
You do not have the required permissions to view the files attached to this post.

ranix
Atari maniac
Atari maniac
Posts: 89
Joined: Sun Jan 14, 2018 8:01 pm

Re: Scroll wheel support?

Postby ranix » Thu Mar 01, 2018 11:55 pm

that is exactly what it says

is xtrapper something that must be run during boot? I heard that some programs will only run via auto

I could try running on my st and see what happens, maybe it doesn't like the ste

User avatar
Foxie
Captain Atari
Captain Atari
Posts: 354
Joined: Wed Feb 03, 2016 7:12 pm

Re: Scroll wheel support?

Postby Foxie » Fri Mar 02, 2018 12:45 am

ranix wrote:that is exactly what it says

is xtrapper something that must be run during boot? I heard that some programs will only run via auto

I could try running on my st and see what happens, maybe it doesn't like the ste


Ah! I just tried on an emulated Falcon and it seemed to work. Though come to think of it, I think I ran trapper instead of xtrapper?

The joystick now scrolls a window in Devpac. Weirdly, left/right on the joystick moves the cursor rather than simply scrolling. Up/down scroll without moving the cursor. What threw me off initially was the scrolling simply doesn't work on the desktop. It might work on a replacement desktop, but not the standard GEM desktop.

Sadly, I couldn't seem to get it working in Cubase. It behaves very strangely when the MWheel program is loaded. I think the only way to scroll in Cubase is to use something like Eiffel or CosmosEx to map the scroll wheel to certain keys.

Scrolling doesn't work in Breakthru either, although at least it doesn't malfunction. Scrolling sort of works in Master Tracks Pro, but it's very erratic and unusable.

ranix
Atari maniac
Atari maniac
Posts: 89
Joined: Sun Jan 14, 2018 8:01 pm

Re: Scroll wheel support?

Postby ranix » Fri Mar 02, 2018 2:52 am

Oh well! It was worth a try

Are there key commands to scroll the Cubase Key Editor vertically? I don't know of any

User avatar
Foxie
Captain Atari
Captain Atari
Posts: 354
Joined: Wed Feb 03, 2016 7:12 pm

Re: Scroll wheel support?

Postby Foxie » Fri Mar 02, 2018 5:22 am

ranix wrote:Oh well! It was worth a try

Are there key commands to scroll the Cubase Key Editor vertically? I don't know of any


I'm not sure either. You can scroll horizontally. It's a major missing feature, I find it very annoying. I'll probably map the cursor keys to scrolling in any software I write since it's so important. I don't know how best to handle multiple panes being open. Presumably the keypresses go to whichever pane the mouse is over, or always the primary pane?

User avatar
edingacic
Captain Atari
Captain Atari
Posts: 244
Joined: Mon Sep 07, 2015 5:16 pm
Location: Austria
Contact:

Re: Scroll wheel support?

Postby edingacic » Sun Jun 17, 2018 10:00 pm

Anyone have a manual for Friend-chip K..AT ? And what does K..AT mean? I found one and will be getting it soon but I don't know if it will work on my TT030? I think I can connect it to TT030 keyboard as with the mouse?

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2372
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Scroll wheel support?

Postby charles » Mon Jun 18, 2018 2:42 am

o.t but scroll wheel would be nice

just thought of that today

hoping up down arrows would navigate the windows

so ?

how about a "macro key command" for Cubase ,
,or
something which permits editing/entering more than 31 bytes in "list edit" for sysex data in Cubase?
or
"logical" handler area which
handles sysex........be nice to randomize some mixer data
then edit it ,
all under key command ......

or
make a keycommand to
make new track
make new part
open it in edit mode
generate random data ....

don't get me started on what we should do ...lol..I am very creative ; )
atari is my lifestyle,not a hobby.
HOLD ON ! ! !,
Im printing unreadable characters ...!

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2372
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Scroll wheel support?

Postby charles » Wed Jun 20, 2018 8:09 pm

there is a module to deal with sysex under Cubase ,,,, ignore the part about sysex ...lol
atari is my lifestyle,not a hobby.
HOLD ON ! ! !,
Im printing unreadable characters ...!

User avatar
charles
10 GOTO 10
10 GOTO 10
Posts: 2372
Joined: Tue Aug 17, 2004 12:11 am
Location: ont. Canada
Contact:

Re: Scroll wheel support?

Postby charles » Wed Jun 20, 2018 8:14 pm

is k.at mean keyboard ,,Atari ? is it the keyboard mapper?
atari is my lifestyle,not a hobby.
HOLD ON ! ! !,
Im printing unreadable characters ...!

User avatar
ardi
Retro freak
Retro freak
Posts: 14
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: Scroll wheel support?

Postby ardi » Thu Jun 28, 2018 10:15 am

How to install MWheel:

Plain TOS:
MWheel.prg and Trapper.prg must be copied in the AUTO-Folder.
The order is important. Trapper.prg must run before MWheel.prg
Copy the needed *.MWX Module in the AUTO-Folder.

Plain TOS with NVDI:
Same as Plain TOS with additional copy of xTrapper.prg in the AUTO-Folder (important order: xTrapper after Trapper)

MiNT + xaAES:
xaMWheel.prg and Trapper.prg must be copied in the AUTO-Folder.
The order is important. Trapper.prg must run before MWheel.prg
Copy the needed *.MWX Module in the AUTO-Folder.
Edit xaaes.cnf and insert

Code: Select all

run c:\xtrapper.prg


P.S.: There is now also a patched Lightning VME USB mouse driver with MWheel support available.

ardi

User avatar
frank.lukas
Hardware Guru
Hardware Guru
Posts: 1616
Joined: Tue Jan 29, 2008 5:33 pm
Location: Germany

Re: Scroll wheel support?

Postby frank.lukas » Thu Jun 28, 2018 10:32 am

ardi wrote:P.S.: There is now also a patched Lightning VME USB mouse driver with MWheel support available.


Is there a download Link ?
fancy Atari Musik anDA Dance "Agare Hinu Harukana" 1998 ATARI http://www.youtube.com/watch?v=JX10fxb5eYE

User avatar
ardi
Retro freak
Retro freak
Posts: 14
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: Scroll wheel support?

Postby ardi » Thu Jun 28, 2018 11:05 am

frank.lukas wrote:
ardi wrote:P.S.: There is now also a patched Lightning VME USB mouse driver with MWheel support available.


Is there a download Link ?


Replace the Lightning mouse.prg with the attached one.

Note: the attached mouse.prg.zip is not a zip - remove .zip
You do not have the required permissions to view the files attached to this post.

User avatar
frank.lukas
Hardware Guru
Hardware Guru
Posts: 1616
Joined: Tue Jan 29, 2008 5:33 pm
Location: Germany

Re: Scroll wheel support?

Postby frank.lukas » Thu Jun 28, 2018 11:16 am

Great, thanks ...
fancy Atari Musik anDA Dance "Agare Hinu Harukana" 1998 ATARI http://www.youtube.com/watch?v=JX10fxb5eYE

User avatar
frank.lukas
Hardware Guru
Hardware Guru
Posts: 1616
Joined: Tue Jan 29, 2008 5:33 pm
Location: Germany

Re: Scroll wheel support?

Postby frank.lukas » Thu Jun 28, 2018 11:21 am

It's still missing a mouse.udd for MiNT with Wheel support ?
fancy Atari Musik anDA Dance "Agare Hinu Harukana" 1998 ATARI http://www.youtube.com/watch?v=JX10fxb5eYE

User avatar
ardi
Retro freak
Retro freak
Posts: 14
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: Scroll wheel support?

Postby ardi » Thu Jun 28, 2018 11:44 am

frank.lukas wrote:It's still missing a mouse.udd for MiNT with Wheel support ?

I have at home. I'll upload this evening.


P.S.: I am currently working on a new JerryST. JerryST USB with Mouse and Keyboard support for all classic Atari's

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12420
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Scroll wheel support?

Postby wongck » Thu Jun 28, 2018 11:54 am

Sorry, What is the hardware require for this?
A jerry mouse adapter?
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
ardi
Retro freak
Retro freak
Posts: 14
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: Scroll wheel support?

Postby ardi » Thu Jun 28, 2018 12:21 pm

wongck wrote:Sorry, What is the hardware require for this?
A jerry mouse adapter?


a Lightning VME USB card

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12420
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Scroll wheel support?

Postby wongck » Thu Jun 28, 2018 1:19 pm

Sorry for not being specific, how about for a falcon ?
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
ardi
Retro freak
Retro freak
Posts: 14
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: Scroll wheel support?

Postby ardi » Thu Jun 28, 2018 1:55 pm

ardi wrote:
frank.lukas wrote:It's still missing a mouse.udd for MiNT with Wheel support ?

I have at home. I'll upload this evening.
You do not have the required permissions to view the files attached to this post.

czietz
Hardware Guru
Hardware Guru
Posts: 746
Joined: Tue May 24, 2016 6:47 pm

Re: Scroll wheel support?

Postby czietz » Thu Jun 28, 2018 6:01 pm

ardi wrote:P.S.: There is now also a patched Lightning VME USB mouse driver with MWheel support available.


Did you test the driver that you posted? The scroll wheel doesn't work with any of the USB mice that I have at my disposal. (And no, I didn't make a mistake in setting the MWheel etc. up.)

User avatar
ardi
Retro freak
Retro freak
Posts: 14
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: Scroll wheel support?

Postby ardi » Thu Jun 28, 2018 9:24 pm

czietz wrote:
ardi wrote:P.S.: There is now also a patched Lightning VME USB mouse driver with MWheel support available.


Did you test the driver that you posted? The scroll wheel doesn't work with any of the USB mice that I have at my disposal. (And no, I didn't make a mistake in setting the MWheel etc. up.)


the mouse.prg is testet. The mouse.udd not.

czietz
Hardware Guru
Hardware Guru
Posts: 746
Joined: Tue May 24, 2016 6:47 pm

Re: Scroll wheel support?

Postby czietz » Fri Jun 29, 2018 6:11 am

ardi wrote:the mouse.prg is testet. The mouse.udd not.


mouse.prg doesn't work either with any of my USB mice, that is: the wheel doesn't work because with your driver my mice do not even transmit the wheel movement over USB. May I ask you which mouse you have?

To have mouse wheel support that works reliably, i.e. with every mouse, you'd first have to implement a HID report descriptor parser. I'm still looking for volunteers...

User avatar
ardi
Retro freak
Retro freak
Posts: 14
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: Scroll wheel support?

Postby ardi » Sat Jun 30, 2018 12:53 pm

czietz wrote:
ardi wrote:the mouse.prg is testet. The mouse.udd not.


mouse.prg doesn't work either with any of my USB mice, that is: the wheel doesn't work because with your driver my mice do not even transmit the wheel movement over USB. May I ask you which mouse you have?

To have mouse wheel support that works reliably, i.e. with every mouse, you'd first have to implement a HID report descriptor parser. I'm still looking for volunteers...

The Lightning VME mouse driver is based on the mint one.
This driver implements a mouse driver for mice in "boot protocol".
The USB boot protocol don't knows wheels. But some mice puts the wheel date in the report. This is no problem, because drivers ignores the extra data.
Some scenarios:
  1. the HID-Report is compatible with the boot protocol only with extra wheel data
    simply switch back to HID protocol (a simple list of VID/PID can select the used mode)
  2. the HID-Report differs from the boot protocol
    we need a full HID-report-descriptor-parser
    or a conf-file can help to find the needed data in the HID-report
    e.g.

    Code: Select all

     LBUTTON=0,1 # left button bit 0-0 means bit 0 of byte 0 and 1 bit used
     WHEEL1=24,8s # wheel bit 24-31 means bit 0-7 of byte 3 and 8 bits used as signed value

czietz
Hardware Guru
Hardware Guru
Posts: 746
Joined: Tue May 24, 2016 6:47 pm

Re: Scroll wheel support?

Postby czietz » Sat Jun 30, 2018 1:03 pm

ardi wrote:This driver implements a mouse driver for mice in "boot protocol".
The USB boot protocol don't knows wheels. But some mice puts the wheel date in the report.


I know. It's just that I still have to find such a mouse. So either I'm just unlucky when buying mice or a mouse that transmits wheel data in the boot protocol is extremely rare. That's why I asked you for the mouse you used for testing.

ardi wrote:
  1. the HID-Report is compatible with the boot protocol only with extra wheel data
    simply switch back to HID protocol (a simple list of VID/PID can select the used mode)
  2. the HID-Report differs from the boot protocol
    we need a full HID-report-descriptor-parser
    or a conf-file can help to find the needed data in the HID-report
    e.g.

    Code: Select all

     LBUTTON=0,1 # left button bit 0-0 means bit 0 of byte 0 and 1 bit used
     WHEEL1=24,8s # wheel bit 24-31 means bit 0-7 of byte 3 and 8 bits used as signed value


Unfortunately, for a lot of mice we tested, scenario 2 applies. Maintaining a config file by VID & PID is incredibly time consuming given the sheer amount of USB mice on the market. Also, it's hassle to support because you have to tell users which mouse to buy, answer questions such as "why won't my mouse work", etc. Plus: someone still has to develop the config file parser. I'd still prefer someone doing a HID report descriptor parser. Only thing is: I'm doing so much already for Lightning VME development, I simply cannot take care of that as well.


Social Media

     

Return to “Hardware”

Who is online

Users browsing this forum: No registered users and 3 guests