Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: giliep

Search: Search took 0.00 seconds.

  1. Hi KurtE, Thanks a lot! for the detailed...

    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...
  2. Hi KurtE, First, thanks for the detailed...

    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...
  3. Controlling Joystick HAT switch button numbers & device icon

    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...
  4. Replies
    1
    Views
    451

    Thanks a lot! This post help me to solve my...

    Thanks a lot!

    This post help me to solve my problem!

    (i don't understand the bug or the fix TBH)
  5. Replies
    13
    Views
    368

    It Looks like this post...

    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.

    ...
  6. Replies
    13
    Views
    368

    BTW. this is what i mean by wrong Hat... The...

    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
  7. Replies
    13
    Views
    368

    I understand that, I'm not sure why INPUT allows...

    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...
  8. Replies
    13
    Views
    368

    @defragster i'm not actually using interrupt...

    @defragster

    i'm not actually using interrupt on pin 14 since it an analog pin (A0 or PTD1).
  9. Replies
    13
    Views
    368

    So pinMode (pin#, INPUT) doesn't interfere with...

    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...
  10. Replies
    13
    Views
    368

    Hi Paul, Thanks a lot for the answer! the...

    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...
  11. Replies
    13
    Views
    368

    interrupts on pins 13 & 14 doens't work on teensy 3.5. + how to call 2 hat switches?

    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...
  12. Replies
    198
    Views
    205,176

    I'm trying to use 2 hat switches and i'm not sure...

    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?
    ...
  13. Replies
    198
    Views
    205,176

    Can you share what was the problem and how did...

    Can you share what was the problem and how did you solve it?
  14. Thread: Hat switches?

    by giliep
    Replies
    5
    Views
    640

    Hi, Sorry to hijack the tread, it came up in...

    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()':...
  15. Replies
    198
    Views
    205,176

    Thank you vary much! I'll update back how...

    Thank you vary much!

    I'll update back how that went.
  16. Replies
    198
    Views
    205,176

    I'll try with the USB-IF program (i didn't see...

    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...
  17. Replies
    198
    Views
    205,176

    Hi Paul, Thanks for the answer. I've tested...

    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?
    ...
  18. Replies
    198
    Views
    205,176

    Tried to edited the Previous post But couldn't do...

    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...
  19. Replies
    15
    Views
    697

    Yea, The original ID's are not doing anything. ...

    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!
  20. Replies
    15
    Views
    697

    Thanks a lot! for the explanation. Makes...

    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...
  21. Replies
    198
    Views
    205,176

    I've updated the JOYSTICK SIZE from 12 to 64 but...

    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'
    ...
  22. Replies
    15
    Views
    697

    I understood how to change the joystick. But it...

    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
    ...
  23. Replies
    198
    Views
    205,176

    Hi thebigg. thanks a lot for the help. I...

    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
  24. Replies
    15
    Views
    697

    That's awesome! I didn't know you can do that? ...

    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.
    ...
  25. Replies
    15
    Views
    697

    Hi, I've tried with suggested flags and...

    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...
  26. Replies
    15
    Views
    697

    Hi, Thanks for answering. I did found that...

    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...
  27. Replies
    15
    Views
    697

    Thank you Very much for the answer. I now...

    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...
  28. Replies
    15
    Views
    697

    Newbie on PlatformIO with Teensy

    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"...
  29. Replies
    198
    Views
    205,176

    Hi, I would love to get some help setting this...

    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...
  30. Replies
    198
    Views
    205,176

    @brydling Was that for me? Its a bit over my...

    @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++
  31. Replies
    198
    Views
    205,176

    Hi Paul, First, thank you for your work it...

    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...
Results 1 to 31 of 31