Bug 895 - Add support for mouse wheel block scrolling in NEWT
Summary: Add support for mouse wheel block scrolling in NEWT
Status: UNCONFIRMED
Alias: None
Product: Newt
Classification: JogAmp
Component: windows (show other bugs)
Version: 1
Hardware: pc_x86_64 windows
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-11-06 16:38 CET by Jesse
Modified: 2015-09-27 03:14 CEST (History)
1 user (show)

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse 2013-11-06 16:38:10 CET
NEWT's MouseEvent.getRotation() correctly returns the number of units to scroll, however some mice use block-scrolling instead of continuous scrolling.  The NEWT mouse event returns the number of blocks, but not the size of the block. 

I thought maybe this was me.getRotationScale(), but it is not, as this returns 1.0f for me.

In Java this is handled with getUnitsToScroll() and getScrollType() == MouseWheelEvent.WHEEL_BLOCK_SCROLL.

To reproduce you will need a mouse that performs block scrolling, and have your mouse set to block scroll with a value greater than 1. You can tell if your mouse does this because the mouse wheel will physically move in "chunks" rather than smoothly.

I have a smooth & block scroll mouse, my smooth mouse works great, my block one is limited to chunks of 1.0f and I have no way of distinguishing whether I should increase this (and by how much).

Having something equivalent to Java's methods would be excellent!  If you don't have the hardware and need me to test it out let me know.
Comment 1 Sven Gothel 2013-11-07 08:42:46 CET
(In reply to comment #0)
> NEWT's MouseEvent.getRotation() correctly returns the number of units to
> scroll, however some mice use block-scrolling instead of continuous
> scrolling.  The NEWT mouse event returns the number of blocks, but not the
> size of the block. 
> 
> I thought maybe this was me.getRotationScale(), but it is not, as this
> returns 1.0f for me.
> 
> In Java this is handled with getUnitsToScroll() and getScrollType() ==
> MouseWheelEvent.WHEEL_BLOCK_SCROLL.
> 
> To reproduce you will need a mouse that performs block scrolling, and have
> your mouse set to block scroll with a value greater than 1. You can tell if
> your mouse does this because the mouse wheel will physically move in
> "chunks" rather than smoothly.
> 
> I have a smooth & block scroll mouse, my smooth mouse works great, my block
> one is limited to chunks of 1.0f and I have no way of distinguishing whether
> I should increase this (and by how much).
> 
> Having something equivalent to Java's methods would be excellent!  If you
> don't have the hardware and need me to test it out let me know.

Jesse, 1st of all thank you for your elaborate descriptions and many reports here.

Are you a software developer by chance and can contribute to our project ?
Are you - or is your employing company willing to support our project
w/ further contributions ?
Maybe PM me for details .. or discuss here or in forum.
Comment 2 Sven Gothel 2014-01-22 20:35:31 CET
@Jessie: If you are interested in this feature, pls implement it or send me such a device, thx.