title: Button click to setOnGenericMotionListener event using mouse scroll work
body: <p>Sir,
      I am work with on button key and it show some value like for Eg:5 if i have move mouse cursor point to button, then on setOnGenericMotionListener event using mouse scroll the Eg: 5 is varied to increase and decrease value depend upon mouse scroll but now i want to move any place of my mouse cursor point have need to set setOnGenericMotionListener event using mouse scroll event to work on that particular button how it possible to perform this event?  </p>
  
  <blockquote>
    <p>Activity</p>
  </blockquote>
  
  <pre><code>public class MainActivity extends Activity {
  Button button;
  int x,f;
  @SuppressLint("NewApi") @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      button=(Button)findViewById(R.id.button1);                  
      button.setOnGenericMotionListener(new OnGenericMotionListener() {
      @Override
          public boolean onGenericMotion(View v, MotionEvent event) {
              // TODO Auto-generated method stub
              switch (event.getAction()) {
              case MotionEvent.ACTION_SCROLL:             
                  if (event.getAxisValue(MotionEvent.AXIS_VSCROLL) &gt; 0.0f)
                  {
                      x=Integer.parseInt(button.getText().toString());
                      f=x+5;
                      button.setText(""+f); 
                  }
                  else
                  {
                      x=Integer.parseInt(button.getText().toString());
                      f=x-5;
                      button.setText(""+f); 
                  }
              }
              return false;
          }
      });
  }}
  </code></pre>