<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>895</bug_id>
          
          <creation_ts>2013-11-06 16:38:10 +0100</creation_ts>
          <short_desc>Add support for mouse wheel block scrolling in NEWT</short_desc>
          <delta_ts>2015-09-27 03:14:50 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>windows</component>
          <version>1</version>
          <rep_platform>pc_x86_64</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jesse">narf_bro</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>narf_bro</cc>
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3282</commentid>
    <comment_count>0</comment_count>
    <who name="Jesse">narf_bro</who>
    <bug_when>2013-11-06 16:38:10 +0100</bug_when>
    <thetext>NEWT&apos;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 &quot;chunks&quot; rather than smoothly.

I have a smooth &amp; 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&apos;s methods would be excellent!  If you don&apos;t have the hardware and need me to test it out let me know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3288</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-11-07 08:42:46 +0100</bug_when>
    <thetext>(In reply to comment #0)
&gt; NEWT&apos;s MouseEvent.getRotation() correctly returns the number of units to
&gt; scroll, however some mice use block-scrolling instead of continuous
&gt; scrolling.  The NEWT mouse event returns the number of blocks, but not the
&gt; size of the block. 
&gt; 
&gt; I thought maybe this was me.getRotationScale(), but it is not, as this
&gt; returns 1.0f for me.
&gt; 
&gt; In Java this is handled with getUnitsToScroll() and getScrollType() ==
&gt; MouseWheelEvent.WHEEL_BLOCK_SCROLL.
&gt; 
&gt; To reproduce you will need a mouse that performs block scrolling, and have
&gt; your mouse set to block scroll with a value greater than 1. You can tell if
&gt; your mouse does this because the mouse wheel will physically move in
&gt; &quot;chunks&quot; rather than smoothly.
&gt; 
&gt; I have a smooth &amp; block scroll mouse, my smooth mouse works great, my block
&gt; one is limited to chunks of 1.0f and I have no way of distinguishing whether
&gt; I should increase this (and by how much).
&gt; 
&gt; Having something equivalent to Java&apos;s methods would be excellent!  If you
&gt; don&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3622</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-01-22 20:35:31 +0100</bug_when>
    <thetext>@Jessie: If you are interested in this feature, pls implement it or send me such a device, thx.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>