TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136618 times)
  2. FAT32 Library (69823 times)
  3. Network Ethernet Library (55883 times)
  4. USB Device Library (46221 times)
  5. Network WiFi Library (41859 times)
  6. FT800 Library (41074 times)
  7. GSM click (28942 times)
  8. PID Library (26401 times)
  9. mikroSDK (26315 times)
  10. microSD click (25328 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: 457 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

PS2 Keyboard Write Leds

5

Control the leds of a PS2 keyboard.

[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]

Uart_buffered

8

Uart Receiver routine(s) with circular receive buffer, the receiver part is interrupt driven.

[Learn More]