Add new button type, clean up pull-up resistor logic. #1

Merged
annabunches merged 8 commits from new-button-behaviors into main 2021-11-01 22:29:42 +00:00
2 changed files with 0 additions and 4 deletions
Showing only changes of commit 2a35a86230 - Show all commits

View File

@ -1,8 +1,6 @@
#include "Joystick.h" #include "Joystick.h"
#include <Arduino.h> #include <Arduino.h>
using std::list;
bool operator ==(JoyReport a, JoyReport b){ bool operator ==(JoyReport a, JoyReport b){
for (uint8_t i=0; i < JOYSTICK_NUM_AXES; i++) { for (uint8_t i=0; i < JOYSTICK_NUM_AXES; i++) {
if (a.axis[i] != b.axis[i]) return false; if (a.axis[i] != b.axis[i]) return false;

View File

@ -4,8 +4,6 @@
#include <Arduino.h> #include <Arduino.h>
#include <Bounce2.h> #include <Bounce2.h>
using std::list;
// If you're using the arduino-big-joystick firmware, these numbers can't be // If you're using the arduino-big-joystick firmware, these numbers can't be
// changed. If you're writing your own Report Descriptor, tune these to match by // changed. If you're writing your own Report Descriptor, tune these to match by
// defining them *before* you include Joystick.h. // defining them *before* you include Joystick.h.