Mouse Driver

This is a discussion on Mouse Driver within the Windows Programming forums, part of the Platform Specific Boards category; Hi, how can i create a mouse driver? (I have one device, not even close to a mouse hehe but ...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    220

    Mouse Driver

    Hi, how can i create a mouse driver? (I have one device, not even close to a mouse hehe but that can be used as a mouse, it uses bluetooth connections, all the bluetooth informations, etc.. i know how to get but i dont know how to exactly control the mouse position, how can i do this, IF i have to build a driver and how would i build that ).

    Thank you ^^.

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,538
    Programming a driver is very complex stuff. I don't think you should do that. Leave it to the experts.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,059
    In the Windows Device Driver Kit there is a complete example of a mouse driver.

  4. #4
    Registered User
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    220
    Quote Originally Posted by Elysia View Post
    Programming a driver is very complex stuff. I don't think you should do that. Leave it to the experts.
    Donīt tell me what i canīt do... And, if i never try, i will never learn, im totally against your opinion.


    Quote Originally Posted by BobS0327 View Post
    In the Windows Device Driver Kit there is a complete example of a mouse driver.
    Thank you, I will take a look at that .

  5. #5
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,538
    Do you have any experience with drivers? Do you know how to do low-level programming? Do you have a certificate or any experience regrading drivers?
    If any of the above questions yield a "no," then I seriously discourage you from trying.
    Drivers runs as part of the kernel memory space and therefore all kinds of things can go wrong if you mess up your code. It's not as "safe" and "protected" as user mode.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Registered User
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    220
    No, Yes, No

    But donīt you agree that if i never try i will never learn?

  7. #7
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,538
    Oh sure, but drivers are an entirely different thing! At the very least, I suggest you try in a virtual machine.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Registered User
    Join Date
    Oct 2005
    Location
    Brasil
    Posts
    220
    Ok, then i will try that , thank you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need Help in Mouse Pointer
    By obaid in forum C++ Programming
    Replies: 3
    Last Post: 12-07-2006, 02:33 AM
  2. Problem in mouse position
    By Arangol in forum Game Programming
    Replies: 6
    Last Post: 08-08-2006, 07:07 AM
  3. Replies: 3
    Last Post: 09-29-2003, 07:04 AM
  4. Game Design Topic #2 - Keyboard or Mouse?
    By TechWins in forum Game Programming
    Replies: 4
    Last Post: 10-08-2002, 03:34 PM
  5. ** HELP ** Color driver and mouse
    By Sunny in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 11-23-2001, 12:25 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21