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

Search:

Type: Posts; User: mjs513

Search: Search took 0.01 seconds.

  1. Replies
    141
    Views
    7,667

    Morning @KurtE There is a bunch of stuff i...

    Morning @KurtE
    There is a bunch of stuff i posted on the other thread regarding the XBOXONE BT driver starting around post #730 from the results of BT sniffing on the Android and USBHost shield2.0. ...
  2. Replies
    141
    Views
    7,667

    Been awhile since I/we played with this - but I...

    Been awhile since I/we played with this - but I was never good with the button mapping. If i remember we originally had them mapped out to more array elements but then we combined buttons.

    Be...
  3. Replies
    141
    Views
    7,667

    @KurtE Nice. The reason I mentioned it was...

    @KurtE

    Nice. The reason I mentioned it was that at one point I didn't see some of the axes data - but we made so many changes it probably works now :).

    Sounds like a cool RC radio system :)
  4. Replies
    141
    Views
    7,667

    @KurtE Make sure you print the axes out to about...

    @KurtE
    Make sure you print the axes out to about 20 or so - the knobs may appear at a higher axes value or check the raw axes array. Found that might be the case with some of other strange...
  5. Replies
    141
    Views
    7,667

    Maybe a wiki or new page in the main area. Think...

    Maybe a wiki or new page in the main area. Think once XBOX one is done then it can all be finalized. Think that is the only open piece of the existing lib. Don't have a XBOX 360 controller to test...
  6. Replies
    141
    Views
    7,667

    @KurtE You know you bring up a good point with...

    @KurtE

    You know you bring up a good point with your explanation. The examples that we have are good, especially since we know what they are doing, but maybe we need to do a little reorganizing of...
  7. Replies
    141
    Views
    7,667

    The basic joystick example in the examples folder...

    The basic joystick example in the examples folder should get you started. A lot of stuff but its a start. If you look at the JoystickBT example you can see how we mapped axes to the actual joystick...
  8. Replies
    141
    Views
    7,667

    Morning Frank Its pretty much plug and play. ...

    Morning Frank

    Its pretty much plug and play. Only problem is, you have to eventually do is map the button values to the joystick buttons and the axes values as well - there really is no automatic...
  9. Replies
    141
    Views
    7,667

    Think I am going to have to get up to speed on...

    Think I am going to have to get up to speed on bus servos. That swappy rover I was looking at uses 10 LewanSoul LX-16A Serial Bus Servo. Can't find them anywhere so may have to switch.
  10. Replies
    141
    Views
    7,667

    @KurtE You really filled in a lot of the missing...

    @KurtE
    You really filled in a lot of the missing pieces. That XBOX controller seems to be a lot different than the PlayStation controllers. Think I read somewhere that XBOX BT is kind of unique to...
  11. Replies
    141
    Views
    7,667

    @KurtE - you might want to check this out - maybe...

    @KurtE - you might want to check this out - maybe it will give you a few ideas: https://github.com/bluekitchen/btstack/commit/1b9cb13d36fa2f810df618b2851ddf2c9c1ec975

    @defragster - I kind of...
  12. Replies
    141
    Views
    7,667

    @KurtE and @defragster and others Just as a...

    @KurtE and @defragster and others

    Just as a test I ran 3 tests. The first using a hub and connecting the 2 Logitech joysticks that I have and second using the PS4 in Bluetooth mode using the T$...
  13. Replies
    141
    Views
    7,667

    @KurtE that's a lot of stuff to go through but...

    @KurtE that's a lot of stuff to go through but looks like you are beginning to get a better handle on whats going on. Did a little more poking around and found this article that talks about xbox...
  14. Replies
    141
    Views
    7,667

    :) Well at least it got me off my you know...

    :)

    Well at least it got me off my you know what to finish off the board design. So I guess you are a good distractor.
  15. Replies
    141
    Views
    7,667

    @KurtE You and me both for being distracted - I...

    @KurtE
    You and me both for being distracted - I blame Frank for that for asking that question on pin positions - troublemaker.

    Yeah - not worried about winging it - do it all the time. Just...
  16. Replies
    141
    Views
    7,667

    @KurtE Don't know if you noticed or not - I...

    @KurtE
    Don't know if you noticed or not - I updated the prior post with the HID reports for the throttle joystick I am using.
  17. Replies
    141
    Views
    7,667

    Actually this is a brand new joystick - just got...

    Actually this is a brand new joystick - just got it the other day as a test unit for the USBHost_t36 library. What I tested was the throttle unit. Guess it was a good choice. So I never posted the...
  18. Replies
    141
    Views
    7,667

    @KurtE: Ok - uncommented the right dbgprint...

    @KurtE:
    Ok - uncommented the right dbgprint statement. Think the problem is that the missing data falls under additional axis which is not captured:

    Joystick: usage=90021, value=0 Mode...
  19. Replies
    141
    Views
    7,667

    @KurtE Not a problem - didn't look at the...

    @KurtE
    Not a problem - didn't look at the changes you made this time - usually I do but of course not this time. :)

    BTW I cant seem to get a usage report that shows for the joystick - all I see...
  20. Replies
    141
    Views
    7,667

    @KurtE and @defragster and others Just hooked...

    @KurtE and @defragster and others

    Just hooked up the throttle unit of the Logitech G Pro Flight X56 Rhino HOTAS which has all kinds of buttons, sliders, hats and switches as a test for the USB.
    ...
  21. Replies
    141
    Views
    7,667

    @KurtE Cool I pull down the new stuff later...

    @KurtE

    Cool I pull down the new stuff later have to go do doctor visits today. Progress is still progress. Entertained my self by getting flexcan working on the T$. Something that's been on the...
  22. Replies
    141
    Views
    7,667

    @KurtE and @defragster You really are making...

    @KurtE and @defragster

    You really are making progress.

    Its a whole heck a lot more that I am. :)
  23. Replies
    141
    Views
    7,667

    Glad you got your windows working again along...

    Glad you got your windows working again along with multiboot.

    Didn't get very far either today, i.e., flexcan or Linux bt sniffing. Have to do more reading on Linux I guess. Only good thing I...
  24. Replies
    141
    Views
    7,667

    @KurtE What could be easier - what a comedian....

    @KurtE
    What could be easier - what a comedian. :)

    Had some luck with ubertooth - that piece works - I can see the spectrum but haven't have much luck with getting the other software pieces...
  25. Replies
    141
    Views
    7,667

    @KurtE - don't envy you going through that dump-I...

    @KurtE - don't envy you going through that dump-I have been trying to get something to work all morning with ubuntu called ubertooth one. Supposedly it will sniff BT packets and you can dump...
  26. Replies
    141
    Views
    7,667

    Wow - have my ili9488 sitting on my desk - on...

    Wow - have my ili9488 sitting on my desk - on list of things to do after XBOX BT and my mega joystick is tested :)

    Interesting about tensorflow and machine learning. Don't know if you saw my...
  27. Replies
    141
    Views
    7,667

    @KurtE and @defragster Know this isn't a Linux...

    @KurtE and @defragster
    Know this isn't a Linux forum but you guys are use to working on Linux. I finally got my setup to see the BT dongle and installed Wireshark for Linux. Its suppose to be able...
  28. Replies
    141
    Views
    7,667

    Morning @KurtE See Annie likes the snow as...

    Morning @KurtE

    See Annie likes the snow as much as my yorkie. :)

    Anyway - what I did was to pair the dongle and Xbox on windows first since it wouldn't pair from the app yet. That got me to...
  29. Replies
    141
    Views
    7,667

    @KurtE and @defragster Since I am rather...

    @KurtE and @defragster
    Since I am rather stubborn in getting windows/Linux working so I could do the hid dumps decided to install virtualbox and ubuntu. After a few issues with guest additions for...
  30. Replies
    141
    Views
    7,667

    @KurtE If you look closely I get xbox -...

    @KurtE

    If you look closely I get xbox - unknown controller and joysticktype = 0;

    That is coming from:

    JoystickController::remoteNameComplete
    Think we need to XBOX to as a test :) so it get...
  31. Replies
    141
    Views
    7,667

    How did you get it to pair> Tried three dongles...

    How did you get it to pair> Tried three dongles - can't figure it out.

    EDIT: To get it to pair on windows with BT dongle you actually have to go into Bluetooth settings and add device, when it...
  32. Replies
    141
    Views
    7,667

    Good morning all. Think its almost ready to...

    Good morning all. Think its almost ready to merge BT into the main branch :)

    Anyway - I will check it out and to the compare - I have a working copy on my desktop.

    To be honest - think that is...
  33. Replies
    141
    Views
    7,667

    Ok refocusing now :) U might want to check...

    Ok refocusing now :)

    U might want to check this out: https://github.com/360Controller/360Controller
  34. Replies
    141
    Views
    7,667

    Hi Kurt Always nice when our kids are happy :)...

    Hi Kurt

    Always nice when our kids are happy :)

    Anyway you may want to substitute this for ps4 0x11 in joystick.cpp
    } else if(data[0] == 0x11){
    DBGPrintf("\n Joystick Data: ");...
  35. Replies
    141
    Views
    7,667

    Hi Kurt Scratch Annie behind the ears for me :)

    Hi Kurt
    Scratch Annie behind the ears for me :)
  36. Replies
    141
    Views
    7,667

    Actually for the PS4 the mapping looks something...

    Actually for the PS4 the mapping looks something like this:


    If we map the buttons the same way as for the PS3 then we can map the 0-5 exactly the same. Should be doable. Just have to go back...
  37. Replies
    141
    Views
    7,667

    Ok Guys Just installed ubuntu, etc per the...

    Ok Guys

    Just installed ubuntu, etc per the post but when I run usbhid-dump it is not picking up any hid devices even if I have the Logitech joystick installed. Any ideas.
  38. Replies
    141
    Views
    7,667

    @KurtE I added these lines to your PS3 axis...

    @KurtE
    I added these lines to your PS3 axis mapping:

    axis_mask_ = 0x0c; // assume bits 3,4 for triggers
    if (axis[3] != data[18]) {
    axis_changed_mask_ |= (1<<3);
    axis[3] =...
  39. Replies
    141
    Views
    7,667

    Ok just saw this - still having my morning coffee...

    Ok just saw this - still having my morning coffee :)

    I don't think I ever saw Franks Teensy64 - is that the same as his commodore64?
  40. Replies
    141
    Views
    7,667

    @KurtE and @defragster I would agree, push...

    @KurtE and @defragster

    I would agree, push away to GitHub - shouldn't hurt :)

    Wonder if this
    was preventing that other PS3 controller from working as well.

    Do have a question on your new...
  41. Replies
    141
    Views
    7,667

    Hey Kurt Just started playing around with your...

    Hey Kurt

    Just started playing around with your PS3 code. You do have to make 1 change to start:

    for (uint16_t i = 0; i < 3; i++) s/b for (uint16_t i = 0; i < 4; i++)

    EDIT:
    assume bits...
  42. Replies
    141
    Views
    7,667

    @KurtE and @defragster As an aside I saw the...

    @KurtE and @defragster

    As an aside I saw the Windows play store lets you download and install Linux versions per that link that Tim posted :)

    Now you realize of course that is all for wired...
  43. Replies
    141
    Views
    7,667

    Kurt Here is a problem. If you look at the...

    Kurt
    Here is a problem. If you look at the Logitech Joystick that I have there is actually a slider - on a tool that Paul reference its identified as a axes 6 (slider according to Hid table) but on...
  44. Replies
    141
    Views
    7,667

    Hi Kurt Make sure you take of Annie. My...

    Hi Kurt

    Make sure you take of Annie. My little one is not feeling too well today. So have to pay attention to her.

    Anyway, This link is rather informative,...
  45. Replies
    141
    Views
    7,667

    Hey Kurt Interesting. So essentially the...

    Hey Kurt

    Interesting. So essentially the standard is to support single joysticks but if have cases like PS3/PS4/XBOX its going to redefine the standard and put the data into what we are seeing. ...
  46. Replies
    141
    Views
    7,667

    @KurtE Kurt - thanks for pulling the data for...

    @KurtE
    Kurt - thanks for pulling the data for me. Based on looking at usb_desc.c and the hut pdf the challenge is that right now the HID report only one joystick (6 axes - x,y,z, rx, ry, rz),...
  47. Replies
    141
    Views
    7,667

    @KurtE Thanks Kurt - I saw the problem after I...

    @KurtE

    Thanks Kurt - I saw the problem after I posted.

    What I am really looking for is how the buttons and the second joystick is presented in the HID usage reports. Reading the pdf I have...
  48. Replies
    141
    Views
    7,667

    @KurtE Ok-I know I lost focus on the Bluetooth...

    @KurtE

    Ok-I know I lost focus on the Bluetooth but I needed to see what the HID input was in the WIP branch. So I set up a T3.5 as a joystick, changed it joysticksize to 64 and got several...
  49. Replies
    141
    Views
    7,667

    @KurtE To try and break things I just ordered...

    @KurtE

    To try and break things I just ordered this monster from amazon: https://www.amazon.com/gp/product/B07CKDS4ZT/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
Results 1 to 49 of 49