Scroll Mouse
Rebecca (1663) 107 posts |
I’ve been using my scroll wheel as a substitute for the menu mouse button when using RPCEmu (0.8.13). Yesterday I decided to try and get it to scroll too. A bit of web searching and it seemed that !HID was what I needed. I downloaded it and gave it a try. On getting an error telling me that it needed a certain version of the USB module, it dawned on me that !HID was probably looking for physical hardware and as such no use in an emulator. Is there any way to use the scroll wheel to scroll windows on RPCEmu? Cheers, |
Matthew Phillips (473) 721 posts |
I don’t know of any way to achieve this. RPCEmu emulates the Risc PC, which did not come with USB. Most likely the RPCEmu software ignores scroll events. |
Rebecca (1663) 107 posts |
Thanks for your reply. I think what you said is probably the case. Not a big deal really, I’d still recommend RPCEmu as a brilliant piece of software. |
Colin Ferris (399) 1814 posts |
One big advantage it has over VRPC – it resumes after Win ‘Hibernate’ :-) One thing that seems to put People off is the networking. Druck made a Network module (passing through Internet commands) for RedSq – but I can’t seem to get it to work with Win7 – it was built for XP. (anyone still using XP/RedSq like to try it?) Perhaps it could be converted for use with RPCEmu. |
David Feugey (2125) 2709 posts |
User mode networking is – IMHO – the big drawback of RPCEmu. With it we could deploy RISC OS software on Windows very easily. User mode networking, virtual printer and access to the whole Windows disk(s) would transform RPCEmu in a real killer application. |
Steve Pampling (1551) 8170 posts |
I’m in total agreement with David F. the networking for RPCEmu is probably far and away the biggest problem it has and probably a show stopper for many people who might otherwise use it.
I’ve heard of the module, just not seen the actual item. I wonder what needs doing to update it for Win7(+) |
Colin Ferris (399) 1814 posts |
I have a version from ‘Druck’ it’s called |
David Feugey (2125) 2709 posts |
There is an interface for virtual podules in RPCEmu, but I’m afraid it’ll need to look at the source code to adapt VAInternet/VAresolver work for it. That would be fantastic anyway :) |
Bryan Hogan (339) 592 posts |
Simplified networking is on the RPCemu radar, see Matthew’s slides from his ROUGOL presentation here – http://www.rougol.jellybaby.net/meetings/2018/jun.html Getting back on topic – Rebecca, what version of RO are you using? I wonder if 4.39 or 6.20 might support the scroll wheel in RPCemu? |
Rebecca (1663) 107 posts |
I mainly use OS 5.27, regularly updating from the nightly builds. It was bugging me because I was sure it worked before with OS 5, but I think it might either have been on the Pi or remembered wrongly. |
Steve Pampling (1551) 8170 posts |
Possibly at least in part the same reason as me – portability (it’s installed on a laptop) |
Rebecca (1663) 107 posts |
I’ve been running RPCEmu for four or five years now on my Linux PC (Haven’t used windows since they killed off XP). I find it (RPCEmu) very stable and have never had a problem with it. It’s a doddle to backup by simply copying or Taring the directory it lives in. I have a 32 Bit setup and a 26 Bit one side by side. I did play with Risc OS on the Pi when I got it but continue to see the PC as my main setup. I might dig out the pi and have a play with it, it’s the original model so I doubt it would be any faster than emulation. maybe I’ll stick WebJames on it as a wee local webserver for saved pages. |
Chris Johns (3727) 40 posts |
Didn’t the STD ‘PS2Mouse’ support the scroll wheel? Could RPCEmu present the mouse as if it was connected to one of the STD ‘PS2Mouse’ devices. RISC OS would then just need to act as if it was connected via a PS2Mouse. There were some drivers with it – although I am not sure if they are 32-bit or not. The other alternative would be have RPCEmu present the mouse data in another way (not sure how but it should be possible) that a module on RISC OS knows about, and that module could then attach to, I think, PointerV. I beleive this is how using a USB mouse on the Unipod works. |
Steve Pampling (1551) 8170 posts |
If you have a copy then just drop the code onto Armalyser and read the “Analysis” for lines that have “32bit” and you should get a clue about the 32 bit status. I think STD were still active when the Iyonix appeared so there’s a good chance it would be OK.
I’m not sure RPCEmu currently presets the scroll data to RO in any way. I think it’s on the ToDo list. I think the relevant OS code is in the Wimp module 1 although I will probably get Jeffery pop up and tell me I’m wrong. 1I was thinking of delving in there to look for a means of doing keyboard mouse control because switching between key shortcuts and mouse is starting to be irritating. |
Rick Murray (539) 13840 posts |
What, for handling scroll mice? I’m aware that your charity bucket is suffering end of week blues, so sit down. Seriously, sit. If you think that looks suspiciously like the low level USB driver poking around Wimp window flags and then sending scroll events then… uh… yeah, that’s exactly what it is. Pandora learned the hard way – don’t open the box. |
Ronald (387) 195 posts |
Pandora learned the hard way – don’t open the box. I am converting a lenovo usb mouse for a RiscPC, when the plugs arrive. It has unused quadrature outputs because everything goes through the serial/usb chip. Of interest as it has a middle button, but the scrolling is done with a wobulator button, back from the middle button. It is only a rocker switch, front and rear microswitch but through the serial/usb chip it scrolls for USB. |
Steve Pampling (1551) 8170 posts |
Ignore me, I’ve just done a search and it’s autoscroll code.
I recall someone talking about there being a disgusting hack, which could be the same thing you describe. |