Hi KurtE,
Thanks a lot! for the detailed answer.
Honestly the custom route went a bit over my head. I'm not a programmer, so the talk about endpoint and editing the descriptor for USB_TYPE is...
Type: Posts; User: giliep
Hi KurtE,
Thanks a lot! for the detailed answer.
Honestly the custom route went a bit over my head. I'm not a programmer, so the talk about endpoint and editing the descriptor for USB_TYPE is...
Hi KurtE,
First, thanks for the detailed response.
some details: I'm using Teensy 3.5 on windows 10.
I read the USB doc, but from a short review, I'm not sure I understand what to fix in...
Hi,
I'm using the extreme joystick to built a joystick, the problem i encounter is that for some reason the hat switch get assigned button numbers above 128 (it's being identified as button # 136...
Thanks a lot!
This post help me to solve my problem!
(i don't understand the bug or the fix TBH)
It Looks like this post did solve the problem...
@pual - Can you confirm ?
I dont really understand the issue or the solution to be honest...
I will check on my Mac and update.
...
BTW. this is what i mean by wrong Hat...
The red one is Windows default i guess and the green one is my Hat Switch, when nothing is pressed
23390
I understand that, I'm not sure why INPUT allows interrupts while INPUT_PULLUP isn't, so i wanted to understand that better
If i was more familiar with the ARM architecture i would go with direct...
@defragster
i'm not actually using interrupt on pin 14 since it an analog pin (A0 or PTD1).
So pinMode (pin#, INPUT) doesn't interfere with the interrupt config? it would be best practice to set the interrupt at the end of the setup?
I have problem which relates to the hat switches...
Hi Paul,
Thanks a lot for the answer!
the code didn't compile because it is a snippet from a very long code... i didn't want to clutter the post.
I did found out what the problem was. I would...
Hi,
I'm using 4 rotary encoders in my project on teensy 3.5, and i managed to get the first 2 encoders work great with interrupts. they are connected on pins 51,52,53,54.
I copied and pasted the...
I'm trying to use 2 hat switches and i'm not sure i'm using the command correctly.
Should it be:
Joystick.hat (1,angle) for hat #1
Joystick.hat (2,angle) for hat #2
Am i doing it right?
...
Can you share what was the problem and how did you solve it?
Hi,
Sorry to hijack the tread, it came up in google search.
I tried various methods to call Joystick.hat();
But every time i get this error:
src\main.cpp: In function 'void loop()':...
Thank you vary much!
I'll update back how that went.
I'll try with the USB-IF program (i didn't see any download on the link you shared)
and i'll try on the Mac. What is the Mac's "Game controller"?
Ashamed to say i've never used it and i own a...
Hi Paul,
Thanks for the answer.
I've tested it with pointy software, which shows 128 buttons, 7 sliders and 4 hats.
So what's wrong with windows? why cant it show the correct joystick?
...
Tried to edited the Previous post But couldn't do it...
Pual - i'm trying different Vendor ID and Product ID, but i can't get the Joystick to show 128 buttons.
Do you have any suggestion about...
Yea, The original ID's are not doing anything.
I'll try the clean option. Thanks.
I'm going over it through and through...
but no Luck yet :(
Thanks for the help so far!
Thanks a lot! for the explanation.
Makes sense...
I actually got over this problem by going back to PlatfromIO.
However,
Even though i've defined the JOYSTICK_SIZE == 64, it still shows...
I've updated the JOYSTICK SIZE from 12 to 64 but the arduino compiler yells this:
Complete:41: error: 'class usb_joystick_class' has no member named 'sliderLeft'
...
I understood how to change the joystick.
But it still doesn't work... for some reason after changing the JOYSTICK SIZE from 12 to 64, I cant get it to compile for some reason...
It says that
...
Hi thebigg. thanks a lot for the help. I understood the problem with the this thread https://forum.pjrc.com/threads/64225-Newbie-on-PlatformIO-with-Teensy?p=258158#post258158
That's awesome!
I didn't know you can do that? i'll need to look for myself.
I did the Serial+Keyboard+Mouse+Joystick, but i guess just the Keyboard+mouse+Joystick (USB_HID) would suffice.
...
Hi,
I've tried with suggested flags and here is the outcome:
(a lot of errors)
one more thing, I've also copied the many axis joystick desc.h/.c to the core location.
Do i also need to...
Hi,
Thanks for answering. I did found that page (before posting here) but i'm not a programmer so it wasn't making any sense to me...
If you can give an explanation on the build flags (like i...
Thank you Very much for the answer.
I now release i haven't describe what i tried to do to make it work yesterday before i posted here. (it was really late at night)
I added the "core" libraries...
Hi,
I'm trying to make the joystick with the many axis joystick to work on platfromio but for some reason i cant understand why i get the error "error: 'Joystick' was not declared in this scope"...
Hi,
I would love to get some help setting this up on Platform IO.
I don't understand what is the process to get the Mouse+keyboard+gamepad+joystick option like you choose in the arduino ? (are...
@brydling
Was that for me?
Its a bit over my head. I'm not a programmer so i don't understand it. I want to know what i need to change in order to make it compatible for the teensy 2.0++
Hi Paul,
First, thank you for your work it looks awesome!! I can't wait to build a controller for my iRacing simulator.
I do have a question about exporting the code from teensy 3.1/.0 to the...