Welcome, Guest. Please login or register.


Author Topic: Universal Mouse Driver (Read 35927 times)

Online gflorez

  • EP addict
  • *
  • Posts: 2723
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 52.0 Firefox 52.0
    • View Profile
Re: Universal Mouse Driver
« Reply #180 on: 2017.July.30. 22:48:15 »
Thinking out loud:

-How will work the click event?

It will be a two phase event. Every time a click is done, the position of the cursor is compared to the actual position of the Mouse pointer. If they are the same, an "Enter" keyclick will be injected on the Keyboard driver buffer(thanks to a program found on a Dutch magazine). If they are different, the escape sequence "1D,3D,20+Y,20+X" will be printed on the Editor channel, moving the cursor to the Mouse pointer position.

-And, how can a scroll be implemented on the EP editor?

The easiest way is by printing control codes to the Editor channel. But if we want a perfect emulation of what happens on a PC, first we must save the cursor position. Then, if the movement found on the Wheel counter is, let's say 3, this indicates an up movement, so first the string "B1, B0, B0, B0"(shift+up, up, up, up) has to be printed to the Editor channel. After that, 3 is taken from the Y coordinate of the cursor saved position(but never below 1, and for the down max position we take the size of the video page). Finally the escape sequence "1D,3D,20+Y,20+X" will be printed on the Editor channel, positioning the cursor exactly on the same place it was before.

To "print" a down scroll, we must send to the Editor channel "shift+down, down, down, etc" and then the cursor positioning escape sequence.

Always after a click or scroll events, their respective flags have to be reset, but in the case of the scroll, also the Wheel counter has to be put to 0.
« Last Edit: 2017.July.31. 15:47:11 by gflorez »

Online gflorez

  • EP addict
  • *
  • Posts: 2723
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 52.0 Firefox 52.0
    • View Profile
Re: Universal Mouse Driver
« Reply #181 on: 2019.May.29. 15:45:19 »
The Mouse driver now has SimbiFace3 USB mouse support. Only the three normal buttons and wheel.

It can be selected by the usual way ":VAR 189 7".

Offline pear

  • EP lover
  • *
  • Posts: 789
  • Country: pl
  • Z80 only
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 67.0 Firefox 67.0
    • View Profile
Re: Universal Mouse Driver
« Reply #182 on: 2019.May.29. 18:24:07 »
Oh, cool.
I think I'm beginning to want to have this interface :D

Online gflorez

  • EP addict
  • *
  • Posts: 2723
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 66.0 Firefox 66.0
    • View Profile
Re: Universal Mouse Driver
« Reply #183 on: 2019.May.29. 18:55:52 »
Your EnterMice is a better option for me.... But this USB HID port comes included on the SF3 as a gift, and I hate non working things....

Offline Tutus

  • EP user
  • *
  • Posts: 439
  • Country: hu
  • OS:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Firefox 72.0 Firefox 72.0
    • View Profile
    • Enterpress News
Re: Universal Mouse Driver
« Reply #184 on: 2020.February.07. 13:47:52 »
Does the Universal Mouse Driver know this?
There are active links in the text. Clicking the mouse cursor will display another text page or file.

Online gflorez

  • EP addict
  • *
  • Posts: 2723
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 72.0 Firefox 72.0
    • View Profile
Re: Universal Mouse Driver
« Reply #185 on: 2020.February.07. 19:26:35 »
No sorry. The Mouse driver is very basic, it returns you a coordinate if a click is done, so is the task of the program to know what is on the coordinate.

I was unable to integrate the mouse on the Editor due my low assembler skills and to the characteristics of the hack(it is a hack that runs on an interrupt), but at least I managed to allow a mouse channel on a text screen(40,80 all dimensions), where the pointer not slides, it moves to the next character boundary. You can learn how to interact with the mouse system on the EnterMice wiki, but I still have not actualised the link to the last version.

Online gflorez

  • EP addict
  • *
  • Posts: 2723
  • Country: es
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 72.0 Firefox 72.0
    • View Profile
Re: Universal Mouse Driver
« Reply #186 on: 2020.February.07. 19:32:54 »
But....... On SymbiOS the thing changes, there is a HTML viewer that on a future will allow hiper-links, when some SF3 characteristics(WIFI) were being integrated on SymbiOS, but this is a task of Prodatron.

Offline Tutus

  • EP user
  • *
  • Posts: 439
  • Country: hu
  • OS:
  • Mac OS X 10.15 Mac OS X 10.15
  • Browser:
  • Firefox 72.0 Firefox 72.0
    • View Profile
    • Enterpress News
Re: Universal Mouse Driver
« Reply #187 on: 2020.February.07. 20:51:29 »
But....... On SymbiOS the thing changes, there is a HTML viewer that on a future will allow hiper-links, when some SF3 characteristics(WIFI) were being integrated on SymbiOS, but this is a task of Prodatron.
This is good news! This is exactly what the HTML browser needs. (You guessed :mrgreen:).
The only trouble is that Prodatron is gone again. :(  It hasn't even solved our requests from years ago (though not really many). :(
Now I was communicating to him through Edoz.

Online gflorez

  • EP addict
  • *
  • Posts: 2723
  • Country: es
  • OS:
  • Linux Linux
  • Browser:
  • Firefox 68.0 Firefox 68.0
    • View Profile
Re: Universal Mouse Driver
« Reply #188 on: 2020.February.08. 10:39:33 »
Here you have the link to Symzilla, source included:

http://www.symbos.de/download/apps/SymZilla.zip
« Last Edit: 2020.February.08. 10:45:38 by gflorez »