ps/2 mouse port - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

ps/2 mouse port

hello

can anyone give me port address & mouse port details?

I want to build a program in mouse without using device driver or interrupts.

I just want to use 'in' & 'out' instructions.

Comments

  • jeffleydajeffleyda Posts: 390Member
    the mouse is accessed via port 60h and 64h.
    I'd take a look at the source for this project, one of the finest mouse drivers in the land.

    http://sourceforge.net/projects/cutemouse

    -jeff!

    : hello
    :
    : can anyone give me port address & mouse port details?
    :
    : I want to build a program in mouse without using device driver or
    : interrupts.
    :
    : I just want to use 'in' & 'out' instructions.
    :
    :
  • jalla21jalla21 Posts: 3Member
    Hi!

    Is there anyone that could tell me how to read from the PS2 port?

    I have a handholde barcodereader conected to the keybord PS2 port.
    And I have a USB keybord conected to the computer.

    When I try to fetch things in the way you do when you read from the keybord I can't access the data from my barcode in the PS2 port, only from the USB keybord device.


    I want to read from a string from the PS2 port and put it into a text box.
    Could someone be so kind to just give me a small codesample to me?

    Thank you.

    : the mouse is accessed via port 60h and 64h.
    : I'd take a look at the source for this project, one of the finest
    : mouse drivers in the land.

Sign In or Register to comment.