Hackaday.io Hackaday.io
Projects
Discover Contests Courses Stack
More
Courses Tutorials Events Hackerspaces Hackaday.com Tindie Marketplace
Sign up Log in
Close
0%
0%

Magic Stick (HID)

Using a Magic stick instead of a Mouse

jj
Following Follow project
Liked Like project

Become a Hackaday.io member

Not a member? You should Sign up.

Already have an account? Log in.

Sign up with Github
Sign up with Twitter
OR
Forgot your password?

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

Pick an awesome username
hackaday.io/
Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters.
Pick a few interests
Projects that share your interests
People that share your interests

We found and based on your interests.

Choose more interests.

OK, I'm done! Skip
Join this project
Similar projects worth following
814 views
0 comments
3 followers
6 likes
  • Description
  • Details
  • Files 1
    • View all
  • Components 6
    • View all
  • Logs 0
  • Instructions 0
  • Discussion 0
View Gallery
814
0
3
6

Team (2)

  • jj
  • foufounerfoufouner

Join this project's team
completed project
MISC
hid arduino

This project is submitted for

  • Odd Inputs and Peculiar Peripherals

This project was created on 06/05/2022 and last updated 3 years ago.

Description

Once upon a time i stumbled on the intriguing 2D HID sensor (human interface device) of the Nintendo Wii controller. I turned it into a input device functioning as a alternative for the mouse. It is a IR camera with a nice resolution (128x96 pixel) recognizing the position up to 4 IR-emitters. This camera sensor dose not take pictures, but it provides positions of all 4 possible IR-sources. In the beginning i tried to convert 2 old Wii controllers into a stand alone sensor. I found somewhere some schematics, but i did not get any (SPI) signals. After searching for alternatives i found the same sensor as a stand alone product. If the sensor see's one IR emitter, this so called BLOP, gives the position of the mouse cursor. If a second BLOP appears, a left mouse click is triggert. The third BLOP triggers a right mouse click. For a ego-shooter game i added a auto fire (fast click rate on left mouse button) and it was quite playable.

Details

Files

pvision.ino

Code

ino - 8.54 kB - 06/05/2022 at 12:12

Download

Components

  • 1 × Gravity: IR Positioning Camera For Arduino https://www.dfrobot.com/product-1088.html
  • 1 × Arduino DUE
  • 1 × 4 x IR Leds
  • 1 × coin cells
  • 1 × a Magic Stick

View all 6 components

Enjoy this project?

Share

Discussions

Log In/Sign up to comment

Become a Hackaday.io Member

Create an account to leave a comment. Already have an account? Log In.

Sign up with Github
Sign up with X
OR

Similar Projects

A Smart Navigation and Safety System for the visually challenged
Project Owner Contributor

Walk-Bot

nilay-roy-choudhuryNilay Roy Choudhury

An alternative version of the SONOFF SNZB-02 air temperature and humidity sensor from ITEAD
Project Owner Contributor

SONOFF SNZB-02 DIY

andrew-lamchenkoAndrew Lamchenko

I also want to make a 6DOF mouse
Project Owner Contributor

One more 3D mouse

vedranVedran

The 2018 Hackaday Prize
Compact, handheld air guitar with four LiDAR strings and Bluetooth
Project Owner Contributor

Litar: LiDAR Air Guitar

bleckyBlecky

Does this project spark your interest?

Become a member to follow this project and never miss any updates

Going up?

About Us Contact Hackaday.io Give Feedback Terms of Use Privacy Policy Hackaday API

© 2025 Hackaday

Yes, delete it Cancel

Report project as inappropriate

You are about to report the project "Magic Stick (HID)", please tell us the reason.

Send message

Your application has been submitted.

Remove Member

Are you sure you want to remove yourself as a member for this project?

Project owner will be notified upon removal.