Bug 895

Summary: Add support for mouse wheel block scrolling in NEWT
Product: [JogAmp] Newt Reporter: Jesse <narf_bro>
Component: windowsAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: enhancement CC: narf_bro
Priority: ---    
Version: 1   
Hardware: pc_x86_64   
OS: windows   
Type: FEATURE SCM Refs:
Workaround: ---

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.