-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video Suggestions #4
Comments
@bobbydilley I'm not sure what guncon device you're using but for the guncon 2 you can simply add the following code to these areas of your sketch file to make it use multiple button inputs to trigger calibration. This lets one use the C or reload button in games. Under buttonState1 = digitalRead(_reload); add
In // Unpause button, // Pause/Re-calibrate button, and // Setup Start Calibration Button. |
Hi @lymandev thanks for the reply, I like the suggestion! :) |
In your video you explain that you need to change the code for your screen resolution. The ABS library will send that as the maximum values for X, Y and the PC will scale those for the screen. Seeing as the camera is 1024x768 (I think), theres no point sending any resolution above those numbers as your not gaining any extra information from it. I suggest that you fix the ABS mouse screen resolution at the resolution of the camera, and don't encourage people to change it.
Secondly, seeing as you've got 3 buttons on the device, before you connect your calibration button, you could make it so that you have to hold down all 3 buttons for 5 seconds to go into calibration mode. This would make the PCB cheeper, and people then wouldn't have to modify their gun! You could run both of these setups together so that it'll support guns with the calibration button and without.
The text was updated successfully, but these errors were encountered: