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

Search:

Type: Posts; User: joshuass

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    5,096

    Your button assignments are not in a correct...

    Your button assignments are not in a correct syntax:


    button1=pin1
    button2=pin2
    button3=pin3

    The above code fails because the compiler has no idea what type button1, 2 and 3 variables are.
    ...
  2. Replies
    6
    Views
    4,380

    Teensy 2.0 Arcade!

    After much work and struggling with all things USB, I've reached my first milestone on my Teensy Arcade board project. I figured now is a good time to share with the group!

    This project creates a...
  3. Awesome Paul. It definitely fixed my issue!

    Awesome Paul. It definitely fixed my issue!
  4. Here is the code I am working with. Originally it...

    Here is the code I am working with. Originally it the data pins were set to just INPUT. I changed them in preparation for tonight's testing.


    void setup() {
    // Set pin assignments
    // Pull up...
  5. Replies
    1
    Views
    1,774

    Update: Turns out I had an incorrect value in...

    Update:

    Turns out I had an incorrect value in the HID gamepad descriptor. The report size for pointer usages in the X and Y directions was 2 when it should have been 8.

    I'll update this once I...
  6. Teensy 2.0 INPUT_PULLUP and controller buttons

    I got a question related to pull up/down on input pins.

    My project consists of 1 or 2 SNES pads connected to a teensy 2.0. They are communicating with the teensy via the SNES's simplistic serial...
  7. Replies
    1
    Views
    1,774

    Teensy 2.0 Arcade (2 Gamepads)

    I've been steadily working on reintroducing gamepad support to a project I am working on that enables a SNES gamepad to connect to the computer as a keyboard or gamepad device. I was testing the code...
  8. Replies
    6
    Views
    8,042

    How will you interface the Wii Classic...

    How will you interface the Wii Classic controllers to the microcontroller? Will you be drilling and modding the controllers and attaching it directly or are you going to try and speak the controller...
  9. Replies
    18
    Views
    11,130

    I managed to add the Joystick support back in....

    I managed to add the Joystick support back in. Its not tested but my repo has been updated with an example INO file and updated api/c code with the additional descriptors and endpoints.

    As I am...
  10. Replies
    1
    Views
    1,640

    Alright I managed to get it working by making...

    Alright I managed to get it working by making sure m_data was a pointer
  11. Replies
    1
    Views
    1,640

    Help with C++ classes

    Hey guys,

    So I am trying to extend the Joystick api by having 2 individual joysticks.

    I think I've gotten except for how I initialize my classes through the constructor. I figure I have to pass...
  12. Replies
    18
    Views
    11,130

    Dawnmist, Its good that I left my report size...

    Dawnmist,

    Its good that I left my report size to 16bytes for compatibility sake. And luckily, I only needed like 20 keys simultaneously so it ended up working out ok (Also didn't need a bootable...
  13. Replies
    6
    Views
    8,042

    Hi there, The post that Paul mentioned was...

    Hi there,

    The post that Paul mentioned was mine. I managed to get the NKRO keyboard working.

    The aim for my project is to be able to connect 2 SNES pads to the computer as either 2 independent...
  14. Replies
    18
    Views
    11,130

    Only tested it on Windows 7 64bit for the moment,...

    Only tested it on Windows 7 64bit for the moment, simply because I have no other OS to test reliably with.

    I've created a git repo for it. And I apologize for the missing copyright notices on the...
  15. Replies
    18
    Views
    11,130

    Awesome News! So I spent the other night...

    Awesome News!

    So I spent the other night trying to work out an extended report config for giving the keyboard more simultaneous presses. I couldn't get it to work so I attempted to put together a...
  16. Replies
    18
    Views
    11,130

    Awesome man, thanks for the help. If I can get...

    Awesome man, thanks for the help.

    If I can get it working right, I think you should be able to integrate it into your existing Teensy extensions by adding another keyboard endpoint that supports...
  17. Replies
    18
    Views
    11,130

    Within usb.c theres the...

    Within usb.c theres the keyboard_hid_report_desc[] array for the keyboard report descriptor. I can see that the report count is 6 at 1 byte (6 bytes total).

    I should be able to modify this to a...
  18. Replies
    18
    Views
    11,130

    Thanks, Paul. I was looking over the code again...

    Thanks, Paul. I was looking over the code again and since I do not need to worry about the Teensy being a boot device that would be the easiest option.

    My next question is where is the report size...
  19. Replies
    18
    Views
    11,130

    Teensy 2.0 with NKRO Keyboard

    Hey guys,

    I've been working on a converter to convert a SNES pad to keyboard presses (better latency in some emulators).

    Its been working pretty well so far with the 6-key limitation with the...
Results 1 to 19 of 19