[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Mouse wheel is now supported in vDos-lfn



I made a cleanup of the mouse wheel feature in the latest vDos-lfn build (build 2016.08.27). Now the WHEELMOD supports the following:

WHEELMOD=0: Disabled
WHEELMOD=1: Up/Down arrows
WHEELMOD=2: Left/Right arrows
WHEELMOD=3: PgUp/PgDn keys
WHEELMOD=4: Ctrl+Up/Down arrows
WHEELMOD=5: Ctrl+Left/Right arrows
WHEELMOD=6: Ctrl+PgUp/PgDn keys
WHEELMOD=7: Ctrl+W/Z keys (as supported by WordStar and DOS EDIT etc)

P.S. Horizontal scrolling is also supported as before (via the optional second argument) and the two scrolling methods can be switched at the run-time with a shortcut.

Wengier


On Friday, August 26, 2016 11:17 PM, Wengier W wrote:


Hi all,

I have further expanded the mouse wheel scrolling feature to support mapping to Ctrl+PgUp/PgDn (WHEELMOD=4) and Ctrl+W/Z (WHEELMOD=5). WHEELMOD=4 seems to work pretty well in XyWrite, while both WHEELMOD=4 and WHEELMOD=5 appear to work in programs like WordStar and DOS EDIT. The expanded feature is now supported in the latest build of vDos-lfn, i.e. build 2016.08.26. Hope this will be useful.

Wengier


On Monday, August 15, 2016 10:19 AM, Wengier W wrote:


Hi Kari,

When you use the up and down option, I think you can make the scrolling faster in XyWrite by holding the ALT key. But the PgUp and PgDn option will cause the scrolling even faster. I have changed the documentation regarding the WHEELMOD option, which currently says:

Mouse wheel movements can be automatically converted into keyboard presses
in vDos-lfn. By default, the standard vertical scrolling is converted into
up and down arrows, but with the WHEELMOD directive you can customize the
keys. You may optionally also specify a second value if your mouse supports
horizontal scrolling (it's converted into left and right arrows by default).
Note that you can switch the two scrolling methods by pressing the middle
mouse button and either the left or the right mouse button at the same time;
the original behaviors can be restored by pressing the middle mouse button
alone. To customize the converted key presses of the mouse wheel movements:
(0 - disable; 1 - up/down arrows; 2 - left/right arrows; 3 - PgUp/PgDn)

rem WHEELMOD = 1,3

Let me know if you have other comments about this.

Wengier


On Monday, August 15, 2016 2:03 AM, Kari Eveli wrote:


Hello Wengier,

This is no big deal but in my case the cursor jumps to the left, text or 
no text. I have LU and LD in the keyboard file, keys 72 and 80 
respectively. In the numpad 100 and 102, I have paragraph movement 
functions. How is this tied to the wheel movement?

By the way, the PgUp and PgDn option is really great. I think I will be 
using this.

The documentation should perhaps state that the WHEELMOD option is 
enabled by default.

Best regards,

Kari Eveli
LEXITEC Book Publishing (Finland)
lexitec@xxxxxxxx

*** Lexitec Online ***
Home page in Finnish: http://www.lexitec.fi/



14.8.2016, 18:18, Wengier W (Redacted sender wengierwu for DMARC) kirjoitti:
> Hi Kari,
>
> Since the mouse wheel movements are simply converted to up / down
> arrows, I don't think they should do anything different from the UP /
> DOWN keys, at least in theory. I believe the cursor jumps to the left
> margin only if that line happens to be empty. On the other hand, I never
> used Xy keyboard functions "cu" and "cd" before so I am not really
> familiar with them. Maybe someone else can help with this?
>
> Wengier