TOP Contributors

  1. MIKROE (2658 codes)
  2. Alcides Ramos (355 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 (136935 times)
  2. FAT32 Library (70058 times)
  3. Network Ethernet Library (56015 times)
  4. USB Device Library (46328 times)
  5. Network WiFi Library (41938 times)
  6. FT800 Library (41263 times)
  7. GSM click (29050 times)
  8. mikroSDK (26457 times)
  9. PID Library (26437 times)
  10. microSD click (25391 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: 462 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 Mouse Read

5

Returns the Delta X (hor), the Delta Y values (vert), the Delta Z (scrolwheel) values and the button status if one of those has changed. Only tested on P18 with 48 MHz MCU clock (will work probably also on 16 and on lower MCU clock speeds).

[Learn More]

TempSensors for PIC32

5

The basic functions for the DS18(S/B)20 (onewire digital temperature sensor), including string output, ready to display. A routine to convert a more than 9 bits temperature read from a DS18B20 to a string (to e.g. display on an LCD) is also present. Including Parasite Power and Configuration routines. The LM35 basic functions, code efficient.

[Learn More]

USB-HID dll for Delphi (and perhaps other languages)

5

Two versions of an USB-HID dll, meant for PC (Delphi, etc...) usage:
A basic version, developed by Joop Beunders,
A somewhat more extended version, based on the basic version of Joop.

[Learn More]