dmadison / arduinoxinput_teensy Goto Github PK
View Code? Open in Web Editor NEWTeensy boards package for the ArduinoXInput project
License: Other
Teensy boards package for the ArduinoXInput project
License: Other
Hi, cannot get the ide to find the xinput boards. Have tried completely fresh installs of both latest arduino ide and legacy 1.8.19 both with teensyduino 1.59. I have followed read me to the letter as far as I'm aware but no joy xinput boards not showing
"Xinput" option does not appear in USB types for Teensy 4.1.
It does appear for Teensy 4.0, though.
Tested with Arduino 1.8.19 and 2.1.0, same results on both.
Teensyduino is version 1.58.1.
XInput_Teensy is version 1.1.2.
I ran into an issue where the XInput library just stopped compiling.
I had compiled it before with no issue.
The project compiles just fine if using USB_SERIAL mode, but wont as soon as I set it to USB_XINPUT.
I re-opened a test project I used to test the library that I know for a fact compiled previously.
I don't know what changed. I even used another computer that I had previously compiled this on.
The terminal shows this:
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp: In constructor 'XInputController::XInputController()':
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp:204:2: error: 'XInputUSB' has not been declared
XInputUSB::setRecvCallback(XInputLib_Receive_Callback);
^
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp: In member function 'boolean XInputController::connected()':
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp:435:9: error: 'XInputUSB' has not been declared
return XInputUSB::connected();
Compiling P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\build\teensy31\FrameworkArduino\HardwareSerial2.cpp.o
^
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp: In member function 'int XInputController::send()':
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp:446:9: error: 'XInputUSB' has not been declared
return XInputUSB::send(tx, sizeof(tx));
^
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp: In member function 'int XInputController::receive()':
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp:455:6: error: 'XInputUSB' has not been declared
if (XInputUSB::available() == 0) {
^
P:\Source Code\PlatformIO\Active\XInput Basic Test.pio\libdeps\teensy31\XInput\src\XInput.cpp:461:24: error: 'XInputUSB' has not been declared
const int bytesRecv = XInputUSB::recv(rx, sizeof(rx));
^
The project is just a simple single button thats always false.
I get the following when I try and setup the Teensy 3.6, I have a 4.1 board here but I read that needs a different library or patch, so I'm hesitant to try it, if I have problems at this stage.
Error resolving FQBN: getting
Error compiling for board Teensy 3.6.
I'm using Arduino 1.8.19 and Teensyduino 1.56 (With the driver from https://github.com/dmadison/ArduinoXInput_Teensy/releases/tag/v1.0.12 ) Which reads as compatible...
My Goal is to use a home-made joystick with a MiiSter board, and I tried HID and it didn't recognize it as a Joystick, once it got into the game. While the Xbox controller I attached worked fine. So this is my alternative to try and see if I can get a driving game with analog inputs to work on things like Outrun and Spy Hunter.
Was just wondering if it is at all possible for the Teensy to act as a keyboard, mouse and xinput controller at the same time.
With the release of the Teensy 4.1 it is easy to hook up a ps4 controller to it by just adding a usb-A socket to the provided pins.
would you be so kind and add teensy 4.1 support for your modification?
I have a Teensy LC board but arent seeing any xInput with LC options under Board. I can see that I can set USB type to XInput only? Am I not installing this correctly? I copied all zip file contents to the hardware library and overwrote the folders contents. I had already installed Teensyduino.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.