TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (404 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141112 times)
  2. FAT32 Library (73905 times)
  3. Network Ethernet Library (58554 times)
  4. USB Device Library (48725 times)
  5. Network WiFi Library (44376 times)
  6. FT800 Library (43977 times)
  7. GSM click (30721 times)
  8. mikroSDK (29478 times)
  9. PID Library (27304 times)
  10. microSD click (27130 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: 524 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: Global variable usage

10

Shows, from a selected routine, the following items: - The parameter - The (used) local variables - The unused local variables (eliminated by optimiser) - The used global variables - Called routines For Pic, Pic24 and P32, both mP and mB

[Learn More]

I2c non blocking

10

Replacement routines for I2c1_Rd and I2c1_Wr but here with timeout, so no blocking any more when a device one tries to access is not present. The mE I2c library is still needed for the remaining I2c routines. Implemented also the code for controllers with 2 I2c's (e.g. P18F27K40).

[Learn More]

Seven Segment

5

Library to drive 4 seven segment digits with common anode. High level routines are provided, next to the low (raw) level ones. Nothing fancy...

[Learn More]