Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
XBox Controllers Plugin
Re: XBox Controllers Plugin
it works, but i think its getting too slow! if you hold down a button for a while its taking like seconds between repeats and the release
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: XBox Controllers Plugin
Oh I know it's going to need a fine tuning but the basic principal works. So if you tap the button 10 times slow. About a 1/2 a second between presses do you get 10 pressed and 10 release events?.
Then if you do the same thing but change the buttons do you get a pressed and released in the order you pressed them?
Then do the exact same Process as above but faster. Keep on doing that and test out if the dynamics are working. Set aside the speed I can adjust for that very easily.
Then if you do the same thing but change the buttons do you get a pressed and released in the order you pressed them?
Then do the exact same Process as above but faster. Keep on doing that and test out if the dynamics are working. Set aside the speed I can adjust for that very easily.
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: XBox Controllers Plugin
And the repeat thing I can sort. It should be caped at 200 miliseconds. Basically a quarter of a second. It shouldn't get any slower then that. Look at your log times to verify this. But adjusting for the repeat is not an issue as well
Re: XBox Controllers Plugin
I don't have access to a computer right now. Im on my phone right now. The mobile site works great btw! This latest test will have to wait a good few hours but I will get to it asap 
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: XBox Controllers Plugin
take your time i have a bunch of things i need to do as well. and TY about the mobile site. it's nice to have it. that zooming in and out crap was irritating
Re: XBox Controllers Plugin
This is my first time using the mobile site actually so I don't know anything about the zooming thing lol
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: XBox Controllers Plugin
nah the zooming thing was before the mobile site. you would have to keep on zooming in and out to press buttons or to read a forum post. it was really annoying. this is way better
Re: XBox Controllers Plugin
I meant I never accessed the site from my phone before so i never experienced the zoom thing
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: XBox Controllers Plugin
ahhh ok got ya.. well you didn't miss anything trust me.
Re: XBox Controllers Plugin
ok i did that test. seems to be working as expected to me
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: XBox Controllers Plugin
ok great I will make some changes to get the repeat and the released working properly and I will also fine tune the speed settings.
I am going to add an action to turn off non bluetooth controllers
I am going to add an action to turn off non bluetooth controllers
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: XBox Controllers Plugin
ok here we go. the version number is the same i didn't bother with changing it. But i added the power off action and i believe i fixed the repeat and the released events. I also redid some of the math on the calibration end of things,
Re: XBox Controllers Plugin
when you hold down buttons for a while the repeat/release times are still getting unbearably long!
also, sometimes, not sure why, it takes forever to react to button presses
also, sometimes, not sure why, it takes forever to react to button presses
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: XBox Controllers Plugin
yeah I know. I have it fixed but I am waiting to hear back on a test. I have put the mouse stuff in. well i put the absolute positioning part of it in. i am still trying to work out the mechanics of directional positioning. because you would want the mouse to move faster the further you press it. i am trying to do the math to get a nice range of speed. but with th absolute positioning if the joy is centered the mouse is in the center of the screen. and if the mouse is pushed to the upper left it will be in the upper left corner.
you are able to pick which joystick you want to use
if you push that stick in and move it up and down it will be the scroll wheel vertical and left right is scroll wheel horizontal
left trigger is left mouse button
right trigger is right mouse button
the joystick opposite the one you choose to control the mouse. if you push it in that is middle click
you are also able to assign the mouse to a specific controller and the rest will continue doing what they do.
I have to key up the GUI end of it but i want to see if the controls work properly.
and... it supports multi monitor without the need to select the monitor. it will hash out all the monitors and get the total positional resolution because you have the ability to select a primary monitor these numbers can be negative values so it was interesting to get that portion of it right. then i had to re range the numbers from the joystick output to get the positional coords in the positional resolution. so that being said you should have single pixel resolution when moving the mouse. because the joystick has a 65535x65535 resolution which is higher then any desktop resolution i have ever seen. so it shouldn't be a really touchy control it should come out nice and smooth.
you are able to pick which joystick you want to use
if you push that stick in and move it up and down it will be the scroll wheel vertical and left right is scroll wheel horizontal
left trigger is left mouse button
right trigger is right mouse button
the joystick opposite the one you choose to control the mouse. if you push it in that is middle click
you are also able to assign the mouse to a specific controller and the rest will continue doing what they do.
I have to key up the GUI end of it but i want to see if the controls work properly.
and... it supports multi monitor without the need to select the monitor. it will hash out all the monitors and get the total positional resolution because you have the ability to select a primary monitor these numbers can be negative values so it was interesting to get that portion of it right. then i had to re range the numbers from the joystick output to get the positional coords in the positional resolution. so that being said you should have single pixel resolution when moving the mouse. because the joystick has a 65535x65535 resolution which is higher then any desktop resolution i have ever seen. so it shouldn't be a really touchy control it should come out nice and smooth.
Re: XBox Controllers Plugin
Ok... sounds awesome!
