Hi Guys,
Want to make a USB HID (Human Interface Device) joystick? It's so easy!
Attached is my dummies guide that will help you get the killer joystick you've always wanted.
Cheers
Squib
Hi Guys,
Want to make a USB HID (Human Interface Device) joystick? It's so easy!
Attached is my dummies guide that will help you get the killer joystick you've always wanted.
Cheers
Squib
Thanks. I'll try it next week.
Hi thanks for this info squibcakes!
i think this is exactly what I need to move forward.
I have EasyHid and have created the generic files but now need to understand the descriptor files.
one question...don't know where to find 'Descriptor tool'. is it a text editor? where do I find it?
cheers.
gogsmack01
Ahhh yes, one of my favorite programs....don't know where to find 'Descriptor tool'.
DT.exe
Right side of the page ...
http://www.usb.org/developers/hidpage/
DT
Gogsmack01,
Writing descriptors is a headacke. I have managed to modify a few descriptors to do what I want, but always after many hours of banging my head against the walls.
Robert
I can't getg it work. can someone upload descriptor file?
Thanks
Pedja089,
Look at the link that Darrel provided above. In there you will find a document about HID descriptors. In one of the appendixes at the end of the document they have descriptors for a mouse, a keyboard, and a joystick. That should help you.
Get one of the sample descriptors that come with PBP and modify it accordingly. It should work.
Robert
Hello gentlemen, im new to the forum and dont really know much about usb or PBP3 so sorry for the may-be dumb question since i use HITECH-C
i did all off the dummies guide stuff but in the end, it asks me to compile, compile where? in MPLAB?
ok so i compiled on mplab using the PBP3 compiler on the 15 trial version and it gives me the following:
ERROR: Macro USBINIT? not found in macro file.
ERROR: Macro USBSERVICE? not found in macro file.
ERROR: Macro USBIN?CBBL not found in macro file.
ERROR: Macro USBOUT?CBBL not found in macro file.Halting build on first failure as requested.
BUILD FAILED: Tue Apr 22 22:28:08 2014
apart from this, i would really like to know where do i configure my PIC18f2550??
do i make a .c file?? (i.e MY_JOYSTICK.c)
and work from there??
how do i prevent/correct this compile errors??
also, where can i find the circuit diagram for this "dummie" joystick, thanks a bunch guys and see you later![]()
sorry this is what im getting now
Executing: "C:\Program Files (x86)\PBP3\PBPX.EXE" -ampasmwin -k# -p18F2550 "C:\Users\Aramburo\Desktop\Nueva carpeta\HUB.pbp"
PICBASIC PRO(TM) Compiler 3.0.7.1, (c) 1998, 2013 microEngineering Labs, Inc.
All Rights Reserved.
Trial version. 15 days left.
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 761 : Symbol not previously defined (USBDeviceInit)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 762 : Symbol not previously defined (USBDeviceInit)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 761 : Symbol not previously defined (USBDeviceTasks)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 762 : Symbol not previously defined (USBDeviceTasks)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 761 : Symbol not previously defined (GetUSB)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 762 : Symbol not previously defined (GetUSB)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 761 : Symbol not previously defined (USBDeviceTasks)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 762 : Symbol not previously defined (USBDeviceTasks)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 761 : Symbol not previously defined (PutUSB)
Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC18.LIB 762 : Symbol not previously defined (PutUSB)
Halting build on first failure as requested.
BUILD FAILED: Tue Apr 22 22:54:59 2014
i cant find this file anywhere, where was it generated???
hid_desc.bas
(ignore this post please, posted on the worng thread)
Bookmarks