TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 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 (140544 times)
  2. FAT32 Library (73037 times)
  3. Network Ethernet Library (58043 times)
  4. USB Device Library (48215 times)
  5. Network WiFi Library (43826 times)
  6. FT800 Library (43295 times)
  7. GSM click (30359 times)
  8. mikroSDK (28990 times)
  9. PID Library (27116 times)
  10. microSD click (26722 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: 511 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

Tool: PIC Clear project

5

This tool enables you, in case of troubles, to delete the derived files (*.mcl etc...) in the project directories and the "Defs" directory. It also enables you to edit/check the .mpppi (project) file. For: mP for PIC, dsPIC and PIC32.

[Learn More]

Article: Record Member alignment for PIC24/dsPIC and PIC32

1

Describes how record members are stored internally in their records, and what problems to expect if that is not taken into account.

[Learn More]

PID Library

25

PID library with fixed calculation time interval. A PID Usage example is added. Octal delivered the mB and an mC version.

[Learn More]