Search results

  1. B

    Many axis joystick

    Thank you for the response, I have now modified my usb_dec.c file, as backwards compatibility is always a good thing, but alas my issue still persists. I am getting minute movement on the X and Y axis and no movement being picked up on Z and Xrotate. I have currently got it working via brute...
  2. B

    Many axis joystick

    Hello all, I am currently working on a button box using a Teensy 4.1 and the extreme joystick "setting". I have got all of the buttons functioning but my four sliders (https://uk.farnell.com/bourns/ptv09a-4020u-b104/pot-rotary-100kohm-9mm-20/dp/2469526) are not being read correctly. I am using...
  3. B

    Joystick button emulation

    Hi, to anyone who finds this, I have resolved my issue. My code works perfectly fine. The issue I was having is that for some reason windows will not recognise any button pressed if the USB type is set to serial + mouse + keyboard + joystick, but it works fine in USB type mouse + keyboard +...
  4. B

    Joystick button emulation

    Hi, I am currently trying to find a way to use a rotary pot as a 3 way switch for use in a button box. I am using an Teensy LC set to USB mode serial + mouse + keyboard + joystick So far I have successfully mapped the pot so that it read 1,2 and 3 and have set and if, else-if, else statement to...
  5. B

    4.1 DOA or My Bad Soldering?

    Thank you both for your help with this issue. The problem has now been resolved. What I did to fix this issue was very carefully remover the black plastic from the headers to check the underside connections. I found pockets of solder flux under them. I washed the board under running water...
  6. B

    4.1 DOA or My Bad Soldering?

    Hi, I have just soldered some header pins to a newly purchased Teensy 4.1, when plugged in to my pc via USB all that happens is the red LED next to the USB socket flashes 4 times at about 0.5 second intervals with a 2 second delay between flash cycles. The Teensy is not detected by my PC...
  7. B

    Joystick, Spoofing a button press.

    Hi Pete, I assume that the bounce library will cause there to be a clean high to low/ low to high signal generated? How would I turn the lack of signal on both Pins 0 and 1 into a a signal that would be picked up as a button press?
  8. B

    Joystick, Spoofing a button press.

    Hello all, I am currently working on a button box for dcs, using the joystick example as a template. My question is, if I am using an on-off-on style spdt toggle switch. Is there a way that I can have windows/dcs recognize the central off position as an input? This is so I can create a key bind...
  9. B

    Teensy Joystick Complete edit

    Thank you for your help. I got it working using the second method and in the process forgot how to wire a simple push button to test it, but after much swearing and threatening of my bread board it works.
  10. B

    Teensy Joystick Complete edit

    Hi all, I am currently in the process of designing a flight switch box (using a Teensy 3.6), using the complete joystick example as a base. My question is, how do I go about setting 12 pins (0-12 for example) as digital outputs so I can control 6 RGB LEDs to use as switch position indicators? I...
Back
Top