TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139842 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47740 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28440 times)
  9. PID Library (26989 times)
  10. microSD click (26398 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

JoyStick to USB

Rating:

0

Author: dany

Last Updated: 2016-09-09

Package Version: 1.0.0.0

Category: Communication

Downloaded: 506 times

Not followed.

License: MIT license  

The purpose of this project is to provide an interface between an “old” analog joystick (in this case a joystick from Quickshot with 2 buttons and an X and Y positioning), connected via a game port (DB15 connector) and a PC via USB.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "JoyStick to USB" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "JoyStick to USB" changes.

Do you want to report abuse regarding "JoyStick to USB".

  • Information
  • Comments (0)

Project Blog

The purpose of this project is to provide an interface between an “old” analog joystick (in this case a joystick from Quickshot with 2 buttons and an X and Y positioning), connected via a game port (DB15 connector) and a PC via USB.
The analog joystick in this project uses as X and Y positioning 2 potmeters with a value of approximately 180 KOhm.
The hardware and software should be easily be adaptable to other joysticks.

Two zip files are present: the first project uses the mikroElektronika's USB-HID library, the second one uses my own HID library.
 

---------------------------------------------------------------------------------------------------------------------------------
2016-08-23: Changed the project to make it use mE's USB-HID library. The one that uses my own HID library is the "other compilers" version (but still ony for mP tough).
The documentation still refers to the non mE HID library, see the source files for the differences (mainly the USB descriptor file).

ALSO FROM THIS AUTHOR

PIC32 Interrupts, article

0

Small article about PIC32 interrupts.

[Learn More]

Tool: RamSizes

10

This tool shows the size of variables splitted up per unit/module and procedure/function.
For mP, mC and mB for PIC and dsPIC/PIC24.

[Learn More]

USB_OA

26

USB libraries (HID, CDC, MSD), original architecture: only 1 kind of USB device, no composite device. -- for P18's or P24's with USB -- . Additionally: the CDC_Twin library (P18 only), which creates 2 virtual COM (CDC) devices.

[Learn More]