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

Search:

Type: Posts; User: Sprool

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    249

    Thanks for your input, PhilB, its only cheap...

    Thanks for your input, PhilB, its only cheap encoders I'm using, the smoothness of them is not so important, its to turn non-critical switches and knobs.

    //#include <Joystick.h>

    //SON OF...
  2. Replies
    2
    Views
    249

    Rotary encoders for flightsim panel

    I'm building a flight sim control panel (DCS) which incorporates rotary encoders, and I want the on-screen dial/knob rotation to mimic the rotation of the rotary encoder. A lot of the DCS key mapping...
  3. Replies
    13
    Views
    497

    Its all working fine EXCEPT it takes too many...

    Its all working fine EXCEPT it takes too many revolutions on the rotary to move the knob in the game. Maybe 30:1 ratio at the moment.

    //SON OF BUTTON BOX
    //USE w Teensy2.0
    //Tested in WIN10 +...
  4. Replies
    13
    Views
    497

    I can tell you that separating the common gnd has...

    I can tell you that separating the common gnd has solved the problem since I was getting cross-talk when rotating, and button presses were not registering. Now all buttons & rotations are working...
  5. Replies
    13
    Views
    497

    its all part of the learning curve :) Now I have...

    its all part of the learning curve :) Now I have 2 button boxes installed I need to name them differently so I can differentiate them in game when mapping controls - Is that possible? (not really an...
  6. Replies
    0
    Views
    147

    Naming controllers?

    I have 2 button boxes based on Teensy 2 boards, but game software does not show which is which as they both inherit the name Teensy keyboard/mouse/joystick; is there a way I can give each controller...
  7. Replies
    13
    Views
    497

    Im so stupid, I just went on Amazon and bought...

    Im so stupid, I just went on Amazon and bought rotary encoders. Feel really stupid now. The video tutorial I followed did not point out any difference in the types available, or advise which types to...
  8. Replies
    13
    Views
    497

    21102this seems to be working, cutting the two...

    21102this seems to be working, cutting the two traces on the back then soldering a jumper to keep the circuit for the switch separate and isolated from the circuit for the rotaries. Bit of a pain...
  9. Replies
    13
    Views
    497

    The code is linked on the site and I had no need...

    The code is linked on the site and I had no need to pay, but here is my version amended for my setup: (attached)

    I did see one thread talking about having to cut the tracks on a rotary so the...
  10. Replies
    13
    Views
    497

    rotary encoder matrix and push-buttons

    So Im building a 20-switch button box + 4 rotary encoders for controlling DCS flight sim. The code used is from this excellent tutorial: https://www.youtube.com/watch?v=Z7Sc4MJ8RPM
    All works fine up...
  11. Replies
    5
    Views
    290

    More DCS info about handling a toggle switch:...

    More DCS info about handling a toggle switch: https://forums.eagle.ru/showthread.php?t=89226 its a long thread!
  12. Replies
    5
    Views
    290

    DCS lets you cycle through the 3 flap positions,...

    DCS lets you cycle through the 3 flap positions, when you assign a button or keypress. I just used an on-off-on momentary switch in my button box as otherwise DCS Bios needs editing to take care of...
  13. Replies
    11
    Views
    874

    Now I need to understand how to get windows...

    Now I need to understand how to get windows joystick controller to recognise rotary encoders :(
  14. OSrted, thanks to info in this post:...

    OSrted, thanks to info in this post: https://forum.pjrc.com/threads/53015-Joystick-using-key-matrix
  15. Its sorted - info in this post:...

    Its sorted - info in this post: https://forum.pjrc.com/threads/53015-Joystick-using-key-matrix solved my problem
  16. Replies
    11
    Views
    874

    Brilliant - thx for posting, this was dooing my...

    Brilliant - thx for posting, this was dooing my head in, button matrix now sending to Windows game controller - DCS also my end game.
  17. Teensy 2.0 button matrix and windows joystick controller

    Im very new to this, so please bear with me, I want a button box using a matrix array so have about 32 buttons & switches for a flight sim controller, I extended the code for the basic hellokeypad...
  18. Some progress made - I increased the keypad...

    Some progress made - I increased the keypad button matrix to 4 x 6, avoided pin 11, added a little routine for the internal LED to flash whenever a button is pressed, wired up the button matrix, and...
  19. Thx Larry but I have that diagram already and its...

    Thx Larry but I have that diagram already and its certainly not very clear to me - the later models with colour coding of the various pin areas seem a bit more intuitive but the 2.0 documentation is...
  20. Will I be ok using the HelloKeypad example but...

    Will I be ok using the HelloKeypad example but inserting a bigger matrix for my button presses to be picked up by windows joystick controller? I'm looking at 5 x 6 button matrix, I dont need to...
  21. is that the one labelled E6, just in from B3? Its...

    is that the one labelled E6, just in from B3? Its all quite confusing, the pin 21 is labelled as F0, 20 = F1 then 19 = F4, what happened to F2 and F3?
  22. On the Teensy 2.0 I have pins 0 to 23, then...

    On the Teensy 2.0 I have pins 0 to 23, then theres 2 pins for GND and 2 pins for +5v, and a reset. Can I use all pins 0 - 23 for digital switches? But then only pins 5 to 8 for interrupt polling...
  23. T2.0 newbie help for flight controller button box

    I am starting to put together a button box as a controller for DCS World flight sim, I have a Teensy 2.0, about 25 switches (needing a button matrix approach) some pots and rotary encoders. Its not...
Results 1 to 23 of 23