Git Product home page Git Product logo

vjoyiofeederwithffb's People

Contributors

dependabot[bot] avatar njz3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vjoyiofeederwithffb's Issues

PWM_SHAKER question

Hello Benjamin,

may I ask: which pin is PWM rumble signal sent when PWM_SHAKER is choosed: is it arduino pin 22 (driverboard first bit)?

Thanks

Closing issue

Hey njz3

Sometimes, when the turn-off sequence of the PC and its power-off are badly timed, the Config folder gets corrupted.

Could you please deactivate the Config saving when the main window of BFF is closed please, as there is no parameter in it ?

I hope it will be enough to solve my issue.

Thanks in advance !

Question: Lamp outputs

Hello njz3,

I am trying to understand your solution to interface Model2/3 cabinets with a PC and compare it with Aganyte and Sailorsat solutions.

There's one thing that I do not completely understand: lamps/bulbs out management.

If I take a look in example at daytona 2 twin schematics I can see the eight Tx and eight Rx signals on the bottom right side of the scheme. These are connected to Arduino MEGA D22-29 and D30-37 in your project, respectively.
I can also see START and VIEW lamp on CN3 (schematics). This suggests to me that those lamps are not handled via messages on Tx/Rx buses, but directly from the game board.

What am I missing? Are those outputs handled directly by dedicated arduino MEGA outputs?

Thanks for the stimulating work you did so far and for the help :)

[hardware port request] STM32F4 Series

I was hoping to run this through a more-powerful STM32F4 Blackpill board (well, clone), but compile fails due to hard-include of AVR Watchdog Timer (not conditional on AVR-based board being used)

And then fails due to a namespace collision (CRC::) with the STM32 boardlibs

resolved to a successful compile by renaming CRC:: in the project to CRCFFB::

Have not live-tested on STM32F4 hardware

What about Rumble?

Hello, first of all thanks for sharing such a nice project but also for spending your time in documenting it.
I know that most of the racing games this hardware/software combination support do not support rumble (they are FF games) but would it be possibile to add some support for Rumble setups? In other words, would it be possibile to include a routine that "translates" FF messages into rumble, i.e. by triggering a rotating motor only when the car goes out of track or collides with another car and ignores all the other FF effects?
Thanks :)

Trial Period Expired - MEGA not responding for some seconds

Hello Benjamin,

I was asking myself if that "trial period expired" message that pops up in the BFF console could affect the game experience (apart from the windows notifications) and now that I have spent some valuable time with your software I can answer myself: yes it does :)

When it pops up makes inputs not responsive for about 5 seconds, right? Is it how it is intended to work?

Could it be made less intrusive eventually? I know that you sell license for it (and it's worth it!!), but could you eventually take into consideration disabling some advanced function instead for poorer tinkerers out there :) ?

(how much is a license at today, if I can ask here?)

Thanks for this great piece of software!!

BFF crashes

I have already installed BFF on my win10 laptop for the very first tests with mame and a CH340 MEGA. That far, all good.
In order to test model 2 and supermodel I have set up a desktop PC with a dedicated videocard.
The new PC showed some difficulty with the CH340 MEGA clone I was using, suggesting some serial communication issue I have not resolved yet. I have then switched to a 16u2 MEGA 2560. This compiles ok, but when I launch BFF GUI, it crashes after recognizing the board.
Does BFF compile a log file of some sort in order to see what happens?
Notice that the both old and new MEGAs works in combination with BFF GUI on another PC (my laptop). No crashes at all there.

Request: Support for custom pinout

Hello Benjamin,
in the last days I have been working on a PCB to make wiring a genuine SEGA Model cabinet with PC simpler (in my hopes).
I adopted a slightly different arduino pinout from yours (digital inputs on pins 38-53 and outputs on A8-A15). I had no issues porting your code by modifying a single dependency of the main arduino sketch, but it's not generally a good idea to keep a fork separate from the seed.
I saw that the code already supports another pinout (Aganyte project, IIRC). Would it be possible to include also this into your BFF project?
The PCB will be the subject of an instructables and gerbers shared (this is not a product, but a labour of love, like yours BFF)

USB HID PID FFB

Hello. Iโ€™m trying to make an FFB steering wheel. Could you please tell me the relevant knowledge?

Control vJoyIOFeederWithFFB with own program on PC

Hello,
is there any way how could I control vJoyIOFeederWithFFB for BeamNG with my own program?
I have a program on PC that gets data from Arduino(Serial communication) and I want to control BeamNG with that data and get data about force feedback. I used Pyvjoy but it doesn't support force feedback. So everything I need is to set the axis and button value from my program on PC. Language doesn't have to be Python.
Thanks for any tips how to do it :)

Multi axis force feedback

Hi!

First of all, major props for sharing this project, will surely help many people down the road.

Is there a plan to add force feedback to the Y axis? This would be awesome as it would allow using this as a flight simulator joystick.

Nice work - BTS7960 works

Thanks A LOT for this;

I was desperately trying to find something to help me convert a trashed GTI Club twin cab.
This works nicely so far; I still have to try and finetune configs to see how well this performs.

I don't think you had in mind to use BTS7960 generic DC motor driver boards but .. it works with your soft+firmware on an arduino leonardo. (I'm using original cabinet DC motors with BTS7960 drivers, as original pcbs are missing)

Thanks again, I will follow this closely.

Question about vJoy FFB registry, FFB Flight stick needs different effect parameter than wheel

Hi, I noticed with your latest vJoy version, there is no need to add registry settings.

So it is stored somewhere in the source code? I need to change it.

For example, the default for Spring FFB is for wheel:

@="GUID_Spring"
"Attributes"=hex:40,00,0f,00,04,c8,00,00,65,03,00,00,65,03,00,00,20,00,00,00

But flight stick has this:

@="Spring"
"Attributes"=hex:07,00,00,00,04,d8,00,00,6d,03,00,00,6d,03,00,00,30,00,00,00

Effect GUID for Spring is the same for both:
OEMForceFeedback\Effects{13541C27-8E33-11D0-9AD0-00A0C9A06E35}

But this difference causes this kind of exception:

----------------------
DataSize: 30, CMD: IOCTL_HID_WRITE_REPORT
1A030101FF000000000000FFFF0424360000000000000000000000000000
BlockIdx: 3
Device ID: 1
Packet type: Effect
	EffectType: Spring
	Duration: -1
	TriggerRepeatInterval: 0
	SamplePeriod: 0
	Gain: 0
	TriggerBtn (?): 0
	Polar: True
	Angle: 360

Receive->process delay: 1,674.999ms
Forwarding to 1 device
Creating effect: Spring
Exception when trying to forward:
	Unable to create new effect: Object reference not set to an instance of an object.
	   at FreePIE.Core.Plugins.Dx.Device.CreateEffect(Int32 blockIndex, EffectType type) in G:\Downloads\FFB\FreePIE-Ffb\FreePIE.Core.Plugins\Dx\Device.cs:line 255
   at FreePIE.Core.Plugins.Dx.Device.CreateEffect(Int32 blockIndex, EffectType effectType, Boolean polar, Int32[] dirs, Int32 duration, Int32 gain, Int32 samplePeriod, Int32 startDelay, Int32 triggerButton, Int32 triggerRepeatInterval) in G:\Downloads\FFB\FreePIE-Ffb\FreePIE.Core.Plugins\Dx\Device.cs:line 154
   at FreePIE.Core.Plugins.Dx.Device.SetEffectParams(EffectReportPacket er) in G:\Downloads\FFB\FreePIE-Ffb\FreePIE.Core.Plugins\Dx\Device.cs:line 120
   at FreePIE.Core.Plugins.VJoy.PacketMapper.<>c.<SetupDefaultMap>b__5_0(Device d, EffectReportPacket p) in G:\Downloads\FFB\FreePIE-Ffb\FreePIE.Core.Plugins\VJoy\PacketMapper.cs:line 25
   at FreePIE.Core.Plugins.VJoy.AsyncPacketData`1.Call(IList`1 registeredDevices) in G:\Downloads\FFB\FreePIE-Ffb\FreePIE.Core.Plugins\VJoy\PacketAction.cs:line 65
----------------------

I have tested and verified your vJoy successfully with this FreePIE fork with FFB support: https://github.com/cyberluke/FreePIE/tree/Ffb

If I add my own values to the registry, it somehow filters incoming FFB packets and my callback is not called. If I delete the registry, the FFB callback works, but with different parameters it causes this issue. On previous vJoy I experienced this issue and the registry tweak fixed it.

I am now compiling your latest vJoy source...some pointer where to adjust these parameters would be awesome!

Merci!
Lukas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.