After spending a lot of time looking through Pointy's example he posted Here I think I am really close to getting what I want.
I am able to get Pointy's joystick testing program to recognize my teensy board as a gamepad with 64 buttons and 6 axes as shown in my picture below.
Maybe my...
here is an example of the sketch I plan on using. I know it is not the most efficient way to code what I want to do but it's simple enough for me to understand and it will be easy to program one switch at a time. So for the first 4 buttons are momentary off/(on) switches and buttons 5 through 7...
Oops I didn't see this post as I was typing my last reply. I totally know what you mean. I know this project is simple enough anyone with experience could probably knock it out of the park. I'm just a mechanical engineer who took c++ back in college almost ten years ago. I know how basic things...
I didnt mention is earlier but I am following the steps that Pointy outlined because his example uses the teensy ++ 2.0. I see the similarities between both of your methods. Does your method also work for the teensy ++ 2.0?
So here is what I got. This should define a joystick with 64 buttons...
ha ha you guys are probably laughing at me. I understand now but to play it safe I think I will just use a hexadecimal converter. Thanks... I'll be back with more stupid questions.
so here is a part of the code I am trying to edit
static const uint8_t PROGMEM gamepad_hid_report_desc[] = {
0x05, 0x01, // Usage Page (Generic Desktop)
0x09, 0x04, // Usage (Joystick)
0xA1, 0x01, // Collection...
Ok I get my answer: DCS supports 128 buttons, 4 POV hats and 8 axes.
Any idea if they make a button matrix board with diode built in to eliminate ghosting. It seems like something that would be common enough you could buy it off the shelf.
A fellow member on the DCS simulator page confirmed that it can take a maximum of a 128 buttons. Any idea if the number of axis might affect this number as well? I asked the same question on the DCS form and still waiting to hear back. Right now I am thinking I would like to reconfigure the...
Thanks you for all the info! I think the real limit will be the number of I/O pins I have on my Teensy ++ 2.0 board. then again I guess I could set up some logic such as if button 1 and 2 are low (or some some arbitrary combination) flash button 3... and so on. Dange, I hope I can follow your...
Hey, I apologize in advance if my lingo is not up to par, I am very new to programming and my level of understand drivers or even how my mouse works after I plug it in is very limited so please bear with me.
I am working on my first teensy project. My goal is to make a switch panel for a...