Open joesphan opened 4 years ago
Did you do or find something about using ffb effect with this library?
I think you will have to write your own support for force feedback by registering your code to read the reports from the host.
I implemented rumble support when emulating the XBox360 controller here: https://github.com/arpruss/gamecube-usb-adapter
Did you do or find something about using ffb effect with this library?
I didn't end up using this library, I migrated to atmega32u4.
Did you do or find something about using ffb effect with this library?
I didn't end up using this library, I migrated to atmega32u4.
I know there is some ffb firmware code made before with arduino leonardo which has atmega32u4. But there is no maked project with bluepill yet. I'm at noob level on coding and i want to drive a dc motor as a ffb motor with the stm32 bluepill with a motor driver but don't find any maked project for it yet. Is there any differencies on hid descriptor used on arduino and stm32? Does the same descriptor would work on both card? If it could be, can i try the arduino's code on stm32? BEcause i have tried some pre maked ffb codes on arduino before. Im very confused :))
This project has no PID associated with it. I think thats what's required for the hid device to receive ffb data.
On Tue, Feb 23, 2021, 2:46 AM hüseyin varol notifications@github.com wrote:
Did you do or find something about using ffb effect with this library?
I didn't end up using this library, I migrated to atmega32u4.
I know there is some ffb firmware code made before with arduino leonardo which has atmega32u4. But there is no maked project with bluepill yet. I'm at noob level on coding and i want to drive a dc motor as a ffb motor with the stm32 bluepill with a motor driver but don't find any maked project for it yet. Is there any differencies on hid descriptor used on arduino and stm32? Does the same descriptor would work on both card? If it could be, can i try the arduino's code on stm32? BEcause i have tried some pre maked ffb codes on arduino before. Im very confused :))
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arpruss/USBComposite_stm32f1/issues/71#issuecomment-784108713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE33QS2MP2KOD4RJVYT5QDTAOBPZANCNFSM4P6BXKPA .
This project has no PID associated with it. I think thats what's required for the hid device to receive ffb data. … On Tue, Feb 23, 2021, 2:46 AM hüseyin varol @.***> wrote: Did you do or find something about using ffb effect with this library? I didn't end up using this library, I migrated to atmega32u4. I know there is some ffb firmware code made before with arduino leonardo which has atmega32u4. But there is no maked project with bluepill yet. I'm at noob level on coding and i want to drive a dc motor as a ffb motor with the stm32 bluepill with a motor driver but don't find any maked project for it yet. Is there any differencies on hid descriptor used on arduino and stm32? Does the same descriptor would work on both card? If it could be, can i try the arduino's code on stm32? BEcause i have tried some pre maked ffb codes on arduino before. Im very confused :)) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#71 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE33QS2MP2KOD4RJVYT5QDTAOBPZANCNFSM4P6BXKPA .
And you saying we need a ffb compatible device's Product ID to receive ffb reports am i understand right?
https://github.com/YukMingLaw/ArduinoJoystickWithFFBLibrary
I am not too sure of the internal workings myself, but i think the theory goes is unlike hid keyboard and mice, ffb devices need a good sized return data trunk. If you look at the repo above, src/dynamichid there are more files, specifically the pid descriptor.
On Tue, Feb 23, 2021, 3:04 AM hüseyin varol notifications@github.com wrote:
This project has no PID associated with it. I think thats what's required for the hid device to receive ffb data. … <#m-147512813681984871> On Tue, Feb 23, 2021, 2:46 AM hüseyin varol @.***> wrote: Did you do or find something about using ffb effect with this library? I didn't end up using this library, I migrated to atmega32u4. I know there is some ffb firmware code made before with arduino leonardo which has atmega32u4. But there is no maked project with bluepill yet. I'm at noob level on coding and i want to drive a dc motor as a ffb motor with the stm32 bluepill with a motor driver but don't find any maked project for it yet. Is there any differencies on hid descriptor used on arduino and stm32? Does the same descriptor would work on both card? If it could be, can i try the arduino's code on stm32? BEcause i have tried some pre maked ffb codes on arduino before. Im very confused :)) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#71 (comment) https://github.com/arpruss/USBComposite_stm32f1/issues/71#issuecomment-784108713>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE33QS2MP2KOD4RJVYT5QDTAOBPZANCNFSM4P6BXKPA .
And you saying we need a ffb compatible device's Product ID to receive ffb reports am i right?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arpruss/USBComposite_stm32f1/issues/71#issuecomment-784118928, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE33QSZHBEC2QC6IYWH7L3TAODTLANCNFSM4P6BXKPA .
Thanks for your helps. But as i said im not good at coding. Im just making some little changes on this codes to use myself. Integrating both codes eachother or making a similiar code for making ffb compatible this repo will be very complex and hard thing for me now. But i will try to find a way to make it happen. I will not give up. Thanks again.
Anytime. Sorry I couldn't be of more help, loaded with coursework right now.
On Sun, Feb 28, 2021, 8:08 AM hüseyin notifications@github.com wrote:
Thanks for your helps. But as i said im not good at coding. Im just making some little changes on this codes to use myself. Integrating both codes eachother or making a similiar code for making ffb compatible this repo will be very complex and hard thing for me now. But i will try to find a way to make it happen. I will not give up. Thanks again.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arpruss/USBComposite_stm32f1/issues/71#issuecomment-787475788, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE33QSUHNR7UZADHZUEB33TBJTALANCNFSM4P6BXKPA .
Hello! Is there a way to get force feedback support? I found the usb hid descriptors for a ffb joystick here, original code was for the 32u4: https://github.com/YukMingLaw/ArduinoJoystickWithFFBLibrary