mouse device...

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
niklo

mouse device...

Post by niklo » Fri Dec 15, 2006 2:17 pm

Hi
i wonder if there is anyone who has succesfully implemented a mouse device!?
/n

ksz
Rank 1
Rank 1
Posts: 26
Joined: Tue Jan 09, 2007 9:10 pm
Location: Poland

Re: mouse device...

Post by ksz » Tue Jan 09, 2007 9:56 pm

niklo wrote:Hi
i wonder if there is anyone who has succesfully implemented a mouse device!?
/n


I did, but it is build on 6 buttons (up, down, left, right, lmb, rmb).. It works..:) This was for tests only.. It is based on HIDKeys project from this site..
Cursor's speed is constant (value can be changed in firmware's main.c)
EDIT: Of course I've implemented mouse's HID device descriptor, but it's quite easy to do..
Now I'm working on IR remote controlled mouse, when it'll be done, I put it on my site with little info and link to it here and send info to OBDEV

aylee00
Posts: 2
Joined: Thu Apr 19, 2007 9:53 pm
Location: USA

Post by aylee00 » Thu Apr 19, 2007 9:57 pm

Hi,

I'm trying to build a mouse type device, and I was wondering if I could see how you( ksz) implemented it. Thanks!

ksz
Rank 1
Rank 1
Posts: 26
Joined: Tue Jan 09, 2007 9:10 pm
Location: Poland

Post by ksz » Sun May 06, 2007 1:12 pm

aylee00 wrote:Hi,

I'm trying to build a mouse type device, and I was wondering if I could see how you( ksz) implemented it. Thanks!


Sorry for late response. Off course you can, here you'll find sources:
http://szczuka.eu/avr/mouse-buttons/
Note, that I'm not developing it any more, so "it is AS IS" ;)

EDIT:
And here's done my IRMouse project:
http://szczuka.eu/avr/irmouse.php

aylee00
Posts: 2
Joined: Thu Apr 19, 2007 9:53 pm
Location: USA

Post by aylee00 » Sat May 26, 2007 5:47 pm

Thanks! :)

My friend and I were trying to build a mouse/touchpad device for a school project.

If anyone's interested, the link is below. We converted the HIDKeys demo code to accept mouse params for the USB.

Site Link here

Post Reply