| View previous topic :: View next topic |
| Author |
Message |
kipp8r
Joined: 17 Mar 2008 Posts: 2
|
Posted: Mon Mar 17, 2008 5:10 am Post subject: USB clock project |
|
|
Hi all,
Firstly I'm new to ps2 dev. :)
I'm working on a little project that I want to port to the PS2. Currently it runs on windows. It gets the system's time and sends it via a USB hid class to my clock device that's plugged in on the USB (basically an LED clock I made). This works great on Windows.
I've been looking around here and on search engines but cannot find much information on programming the USB on the PS2, specifically a HID device. Do any of you have advice or samples you can point me to. I notice that the ps2sdk has a usbd.h with some defs for functions.
Thanks :) |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Mar 17, 2008 7:39 am Post subject: |
|
|
| If you get the sdk source from the repo, you'll find the mouse, keyboard, and mass storage USB drivers. If you can't write a USB driver for you own device from that, you're out of luck. :) |
|
| Back to top |
|
 |
kipp8r
Joined: 17 Mar 2008 Posts: 2
|
Posted: Mon Mar 17, 2008 8:02 am Post subject: |
|
|
Thanks J.F.
I did not see these files as I had the bin release of the toolchain for Windows. This does not seem to have these examples.
I'll take a look, thanks for the quick response.
:) |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Mar 17, 2008 12:23 pm Post subject: |
|
|
Yeah, the source can be really useful at times. Be sure to check out both ps2 and ps2ware.
| Code: | svn co svn://svn.ps2dev.org/ps2/trunk ps2
svn co svn://svn.ps2dev.org/ps2ware/trunk ps2ware |
|
|
| Back to top |
|
 |
|