Programming the mouse DIRECTLY

Hi
I need some help, I have written a Java program that interfaces to some hardware using the parallel port and a mouse encoder. I am reading the mouse position just using standard Java event handling, which I thought was going to be ok until I realised that the faster you move the mouse the greater the distance it moves! I need to talk to the mouse driver directly (win 32) but I havent got a clue how to go about doing this....any help would be much appreciated.
Thanks

the faster you move the mouse the greater the distance it movesThat's the way the mouse protocol works (at least for USB mice), so talking 'directly' to the hardware may not help.
The windows API has a raw inpute API (e.g. GetRawInputDeviceInfo()),
so you could call these functions via JNI.
Good luck

Similar Messages

  • The programs open tab ( list of programs open on comp) is always popping up on middle of screen whenever I go near the mouse.  HELP!!!  Have turned it off recently and moved it, a mac mini, now on new plug in and set up it now does it.

    The programs open tab ( list of programs open on comp) is always popping up on middle of screen whenever I go near the mouse.  HELP!!!  Have turned it off recently and moved it, a mac mini, now on new plug in and set up it now does it.
    Yes I have turned it off and restarted it, ubnplugged mouse and plugged it back  in.
    Have not updated it in a little bit
    running mavericks, which I dislike.10.9.1
    This is a new problem,
    Why where and what do I need to do to fix it? Please.
    Thanks for your help community, You guys are awesome, better than the guys n girls at Apple!!
    I have also noticed the drop down menu arrow on Numbers Tabs has dissappeared since move.
    you know the invisible arrow that appears in the additional tabs pages in "Numbers program"
    Especially an inconvenient for previous Numbers users as you all know.
    any word on New Numbers Tutes at all??
    You'd think with a Billion dollars they could make a 10 min clip saying here are changes guys, go enjoy new layout.....  Just saying...  not.
    anyway Hi and any help out there tonight is GREATLY APPRECIATED.
    Cheers Jason.

    If the reset doesn't work:
    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTune (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port. Do not release button until you see picture of iTune and plug (very important)
    5. Release Home button.
    ON COMPUTER
    6. iTune has detected iPad in recovery mode. You must restore this iPad before it can be used with iTune.
    7. Select "Restore iPad"...
    Note: Data will be lost

  • Does the RFFOEDI1 program has any implication on the ACH direct deposit?

    Hi all,
    Can any one please explain the use of RFFOEDI1 program. Is this
    program used just to generate I-Doc?
    Scenario: For Check payment method(C)
    Once F110 run is successful, then we have to run RFFOUS_C program to
    generate checks. Once this program is complete, checks will be
    generated and the check info will be available in PAYR table.
    Scenario: For ACH-CCD payment method (D)
    Once F110 run is successful with payment method D, The payment details
    will hit BSAK table.
    Now, I don't want to generate the SAP standard I-Doc with RFFOEDI1, do
    I still need to run RFFOEDI1 program???
    For the check payment, RFFOUS_C program triggers the generation of
    checks after which the check info will be available in PAYR table
    Likewise, does the RFFOEDI1 program has any implication on the ACH
    direct deposit?
    To my understanding, If you do a payment using payment method, ACH
    direct deposit in SAP, we don't generate any check numbers ???!!!
    Do we get any reference number or anything when the direct deposit is
    done??? This reference number could be used to trace the invoice
    against which this ACH payment was done!
    If it is the case, where do we get/ when do we generate the reference
    number to trace the invoice????.....any inputs?
    If we are not going to run RFFOEDI1 program, (if we are not interested
    in generating IDoc) then are we DONE with the ACH direct deposit, once
    we are done with payment run(F110)???
    Where do we get the reference number which specifies the ACH payment?
    Sorry, I have poured in lot of question at one place!
    Any inputs/ solutions/ suggestions are greatly appreciated!
    Thanks a lot!

    RFFOEDI1 is typically used when payments to vendors are to be sent by an EDI 820 file to the bank. This program generates the PEXR2002 idoc. The idocs are sent to the EDI translator where these are mapped to an EDI 820 file format and sent to the bank.
    Scenario ACH-CCD payments method (D)
    If you do not want to send EDI 820 payments, you would typically not generate the idoc - in which case - you dont have to use RFFOEDI1. This probably means that (a) you are using the RFFOUS_T program for generating the payment medium or (b) you are using the payment medium workbench to generate the ACH file (NACHA format) for your house bank.
    You do have to send an ACH file to the bank for paying your vendors - which means - you are probably using one of the above methods to generate the file.
    ACH Direct Deposit
    I am assuming that you are probably referring to ACH-PPD type payments here. You would still have to send the payment medium using one of the methods mentioned above.
    In all ACH scenarios, your payment document number, is your reference number that was used to clear the open item.
    Hope this helps.

  • When the browser is open the mouse does random things in all open programs, I can close FF and it works fine is there a mouse bug?

    Since the last upgrade, when the browser is open the mouse randomly clicks on things changes windows by itself. In addition highlighting things to cut and past is almost impossible... this transfers over to all open programs word, movie maker, audacity, etc... and as soon as the browser is close the problems go away... I am having this on two computers the first is a 32 Bit Vista system with a corded mouse the second is a dual boot 64 bit Win 7 and Linux Mint laptop using a Logitech cordless mouse and built in mouse pad both mouse and pad does this... in both operating systems.
    I thought it was a problem with the mice or interference with the wireless receiver or from an Xbox in the same room interfering with the systems, however updated drivers were downloaded and installed on both computers for all three operating systems.

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?

  • My apple wireless mouse scrolls in the opposite direction. When I scroll up, down, right and left it always scrolls the opposite direction. Can anyone help?

    My apple wireless mouse scrolls in the opposite direction. When I scroll up, down, right and left it always scrolls the opposite direction. Can anyone help?

    Hi Malky H.,
    Thanks for visiting Apple Support Communities.
    If your mouse is not scrolling in the direction you are expecting, check this Mouse setting in System Preferences:
    Choose Apple menu > System Preferences, then click Mouse.
    Scroll direction: natural: Select this option to move the contents of a window in the same direction as your fingers.
    You can find this information here:
    OS X Yosemite: Use an Apple Magic Mouse
    Note that these steps apply to previous versions of Mac OS X as well.
    Best Regards,
    Jeremy

  • I just installed the new mountain lion software on my iMac.  I was currently running Snow Leopard.  My problem is with my mouse.  Now when I scroll down the page it moves in the opposite direction. I checked system S.P. - Natural for scroll feature.

    I just installed the new mountain lion software on my iMac.  I was currently running Snow Leopard.  My problem is with my mouse.  Now when I scroll down the page it moves in the opposite direction. In system preferences I tried checking and unchecking Natural for scroll feature. Movement from side to side works fine.  Has anyone experienced this problem?

    I think this new scrolling behaviour was introduced with Lion. You do get used to it pretty quickly (well I did). Are you sure that deselecting Natural Scrolling in Mouse Prefs doesn't re-instate the previous behaviour, it does here.

  • Trial Version of elements 13 running on latest IMac 27 inch.  Move the mouse and it is time out.  Doesn't matter where on the window the mouse is. The program does not respond quickly at all. Takes ages to do anything with it.  Any suggestions?

    I am running a trial version of Elements 13 on the latest IMac 27 inch.  Any move of the mouse and it is time out.  Doesn't matter if the mouse is trying to do an edit or just moving across the window.  The program does not respond very well at all.  I am wondering now if I should bother purchasing the program. 

    How much ram do you have? Did you recently import a bunch of photos into the organizer? PSE will be slow till it's through cataloguing them, which can take some time for large number of images.

  • In facebook, When I access a picture directly, I am unable to advance the photo forwards or backwards using the mouse/cursor or the arrow keys.

    I am using Firefox 16.0.1 on a macbook pro using 10.7.5 software.
    When I access a picture directly, I am unable to advance the photo forwards or backwards using the mouse/cursor or the arrow keys. The same is true if I use an external mouse.
    If I use Safari as the browser, I don't have this issue.
    This problem just started a couple of days ago.
    All had been working fine.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Drawing connected direct lines using the mouse

    Hallo all,
    What I want to do is, to draw connected lines on a graph using just the mouse...
    First I will define min and max values for (x,y) -graph range- using the property node...
    Then using the mouse I want to draw frequency ramps over time like in FMCW modulation... For example it will just draw the ramps by connecting several points marked by my mouse clicks on the graph. Moreover I need the (x,y) values that I click on the graph...
    Thanks,
    Ogulcan

    Hmm, this does not sound very clear. Do you want the cursor to follow the mouse even when the mouse button is up. If you have multiple cursors, which one should be followed? What should happen if you move the mouse outside the window? How do you release the cursor from the mouse when done?
    I think it is much easier if you just drag the cursors via the normal mechanism. It is most direct and intuitive. See attached LabVIEW 7.1 example. For another example of moving points, have a look at this older thread..Message Edited by altenbach on 06-28-2005 10:13 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Cursorcontrol.vi ‏45 KB

  • Compaq nx6110 the mouse start all program by it self

    compaq nx6110  ican not cotrol the mouse its starting all the programs in the screen by it selef and peeping. thanks

    Hi binmous,
    Very strange issue you've posted here, let's try a few things to get the mouse to work... I will post a few questions to start out:
    1. Which version of windows do you have?
    2. Has anything changed that may have caused this? An update or other newly installed software?
    3. Is it a wireless or usb wired mouse?
    *** If my reply was helpful, please click on the "Kudos Thumbs-Up" on the right, as a way to say "Thanks!".
    If this reply also fixed your issue - please click the "Accept as Solution" button, so that others can find the same answer. ***

  • Plz Help! How to control mouse motion(use program to move/click the mouse)?

    Hi people, plz give me some help on this: I wanna control mouse motion at another program's window, eg. control mouse movement in Internet Explorer's window. For a particular pixel on the screen, I need to move the mouse onto it instantly, then click. Please note that the java program(no applet) is going to run at the background, the current active window is some other programs like IE, notepad, etc.
    Plz give me some clue about how to achieve this, thanks.
    Do I need to do this through windows API or it can be done purely in JAVA?
    Also, how to calculate the RGB color from a particular pixel on the screen?
    Thank you very much for your time, plz help :).

    The same question each day (exe) !!!
    There are many posts on this point!
    All the soft that allows the build a native executable file on Windows
    are not free!
    You can take a look at JET excelsior
    http://www.excelsior-usa.com/home.html
    Denis

  • Changing the scrolling direction for my mouse will change the scrolling direction for my trackpad

    I really like the new feature "natural scrolling" with the trackpad, but when I use my mouse, the scrolling direction is reversed as well. So I tried to change the settings of my usb mouse (razer diamondback) from "natural" back to the old scrolling. Unfortunately it also changed my trackpad settings back to normal.
    Is there a possibility to use my mouse scrolling the "old style" while using the "natural scrolling" with my trackpad ?

    I've said a very similar thing in this thread:
    https://discussions.apple.com/thread/3290807?start=15&tstart=0
    The thing is that someone from Nova Scotia posted a link in that thread to "Scrollreverser", and it looks like that tool can actually de-couple mouse and trackpad scrolling.
    I've sent the proprietor of the app an e-mail asking if it will also work in Lion... If the answer is yes, this might do you fine...

  • I JUST INSTALLED MOUNTAIN LION, NOW THE SCROLL BALL ON MY MAGID MOUSE SCROLLS IN THE OPPOSITE DIRECTION THAN IT DID BEFORE. I NOW HAVE TO ROLL THE BALL UP TO SCROLL DOWN

    I JUST INSTALLED MOUNTAIN LION, NOW THE SCROLL BALL ON MY MAGIC MOUSE SCROLLS IN THE OPPOSITE DIRECTION THAN IT DID BEFORE. I NOW HAVE TO ROLL THE BALL UP TO SCROLL DOWN.

    If you go into System Preferences> Mouse. There is a box at the top of the screen that states Scroll direction: natural.
    Be sure to uncheck the box after installing MOUNTAIN LION, then the mouse ball will scroll in uthe normal fashion.
       Thanks for all the help...
    TRAIN MAN  

  • How can i change the scroll direction of the trackpad? Someone hooked a mouse up to it and it changed the settings and I cant change it back.

    How can i change the scroll direction of the trackpad? Someone hooked a mouse up to it and it changed the settings and I cant change it back.

    >System Preferences>Hardware>Mouse>Point & Click>Scroll Direction.

  • Can I change the scroll direction of the trackpad without changing the scroll direction of the mouse scroll wheel?

    I don't know if anyone else came across this problem, but I noticed that changing the scroll direction on the trackpad also changes the scroll direction on the mouse. I enjoy the natural movement on the trackpad, but the normal 'windows-style' movement on the mouse. Any solution?

    I too have same issue. By default trackpad has natural scroll direction. However for mouse natural scroll direction causes problem, if you used to use wheel on the mouse on Windows and Linux platform. If I change the mouse's wheel direction to non-natural direction. It fixes the issue. However it changes the trackpad's direction also to be non-natural, which is not good.
    Both the settings can be independent of each other. (i.e. mouse's scroll direction and trackpad's scroll direction).

Maybe you are looking for

  • H.264/AVC Encode

    Hiya, we all know our video guru el_loco whom I have known a long time and who helped me two consecutive years to get MY PHONE. This process is based on him. Our N95 8GBs are HW accelerated for 640X480 REZ'd MPEG4/MP4s and 320X240 REZ'd H.264/AVCs. I

  • Max TV (lcd or plasma) for Dual PowerMac G5 - ATI Radeon 9600 XT

    Hi, Wanted to pose a question as to what the maximum size TV (lcd/plasma) would be if I wanted to use a PowerMac 2x2.0Ghz ATI Radeon 9600 XT video card. I want it to be the primary display and use it for video conferencing only. Thanks, Nikesh

  • "NamingContextFactory class not found" error during deployment

    Hi all! I have a legacy app I need to migrate from JBoss 3.2.7 to 5.1.0 GA. I have found 13 problems so far and I resolved 12 of them. The problem I have now is: Jboss shows this error during startup: INFO  [Http11Protocol] Starting Coyote HTTP/1.1 o

  • Receiving duplicate Gmail messages (IMAP)

    When receiving messages from my Gmail account in Mail, I receive duplicates. One copy is at the top of the left-hand column under the heading "Inbox." the other is on the bottom of the same column under "Gmail>All Mail." So, when I receive an email,

  • My iphone4's one speaker is only working

    my iphone4's one speaker is only working. send me some suggestions ...wat to do for it ...