hello friends
my intension is to develope a usb keyboard.for this i used pic 18f4550 and microc.i used microc 's hid library for basic usb communication and it was success my systems(win xp) detect my usb and i viewed chars in hid terminal of microc that i send from my pic.but when i started to implement this as a keybord i realised that i have to change the discriptor file usbdsc in the library.i started searching ,i got lot of files but all are not compatible for microc.so i changed some fields of the existing usbdsc file but my system is not taking my hardware as keyboard.if anybody have such discriptor file of keyboard compatible to microc ,please give it to me
i need ur valuable help
usb keyboard descriptor
Hi Sreeja,
Have a look at this article on my website http://www.helmpcb.com/Electronics/USBJ ... stick.aspx. In it I describe how to modify the mikroC USB descriptor to work as a USB joystick.
In the article I talk about the HID Tool, which you can download from the USB Implementers Forum (http://www.usb.org/developers/hidpage/). The HID tool contains an example descriptor for a USB keyboard. All you need to do is take that descriptor and follow the steps I outline in the article to get it to work with mikroC.
The final thing you'll need to research is how the data is formatted before being sent to the PC.
Good luck!
--Amr
Have a look at this article on my website http://www.helmpcb.com/Electronics/USBJ ... stick.aspx. In it I describe how to modify the mikroC USB descriptor to work as a USB joystick.
In the article I talk about the HID Tool, which you can download from the USB Implementers Forum (http://www.usb.org/developers/hidpage/). The HID tool contains an example descriptor for a USB keyboard. All you need to do is take that descriptor and follow the steps I outline in the article to get it to work with mikroC.
The final thing you'll need to research is how the data is formatted before being sent to the PC.
Good luck!
--Amr
[url=http://www.mikroe.com/forum/viewtopic.php?p=69489]mikroC USB Joystick[/url]
[url=http://helmpcb.com/software/usb-hid-template-for-visual-basic-2005]USB HID Template for Visual Basic 2005/2008/2010[/url]
[url=http://www.mikroe.com/forum/viewtopic.php?p=55958]Storing floats and other objects in EEPROM[/url]
[url=http://helmpcb.com/software/usb-hid-template-for-visual-basic-2005]USB HID Template for Visual Basic 2005/2008/2010[/url]
[url=http://www.mikroe.com/forum/viewtopic.php?p=55958]Storing floats and other objects in EEPROM[/url]
Re: usb keyboard descriptor
This is a problem I am working on as well. The usb keyboard.
How does the "parse" command work on this USB HID tool that usb.org provides for developement?
How do I convert the code generated into something that mikroC would understand.
Unfortunately your website, Amrbekhit, is not visible to me. I wish that I could see how you have done it.
How does the "parse" command work on this USB HID tool that usb.org provides for developement?
How do I convert the code generated into something that mikroC would understand.
Unfortunately your website, Amrbekhit, is not visible to me. I wish that I could see how you have done it.
Re: usb keyboard descriptor
Hi tarakan,
I've just tried viewing my site at using Google Chrome and for some reason it doesn't load, but Firefox, Internet explorer and my phone load the site just fine. I'm not sure what's going on there, but the site is still up, so keep trying!
Amr
I've just tried viewing my site at using Google Chrome and for some reason it doesn't load, but Firefox, Internet explorer and my phone load the site just fine. I'm not sure what's going on there, but the site is still up, so keep trying!
Amr
[url=http://www.mikroe.com/forum/viewtopic.php?p=69489]mikroC USB Joystick[/url]
[url=http://helmpcb.com/software/usb-hid-template-for-visual-basic-2005]USB HID Template for Visual Basic 2005/2008/2010[/url]
[url=http://www.mikroe.com/forum/viewtopic.php?p=55958]Storing floats and other objects in EEPROM[/url]
[url=http://helmpcb.com/software/usb-hid-template-for-visual-basic-2005]USB HID Template for Visual Basic 2005/2008/2010[/url]
[url=http://www.mikroe.com/forum/viewtopic.php?p=55958]Storing floats and other objects in EEPROM[/url]
Re: usb keyboard descriptor
Dear Amr, I opened your website with I. Explorer.
So what meaning does "report size" have?
How do I make a use of the hid descriptor within my program?
Definit.h somewhat repeats the USBdsc.c .
Was one generated off the other?
Thank you.
So what meaning does "report size" have?
How do I make a use of the hid descriptor within my program?
Definit.h somewhat repeats the USBdsc.c .
Was one generated off the other?
Thank you.