Controller App Suggestion

i was wondering if yall could create a app like mechakeys but for controller if thats possible or if yall are in develompment to create it it would be a great idea tbh i personally been trying everything to map my controller into keyboard to get the clicking sounds without changing my game input which doesnt seem to be working so i hope yall can create it soon thanks or just lemme know anything
91 Replies
halu
halu4mo ago
not super familiar with controllers but i’ll see what I can do prob wont be anytime soon tho
RiriRed
RiriRedOP4mo ago
or add a controller tab to the mechakeys v2?
halu
halu4mo ago
is there a particular controller software or driver or something that you’re using?
RiriRed
RiriRedOP4mo ago
and have custom sounds js like the keyboard like ps5 ps5 dualsense edge or clicky controller ps4 and way more exists or just let us maybe connect controller to it and let mechakeys detect it as keyboard or smth? ion use ds4 or whatever i use it only for certain games i personally use the dualsense edge
halu
halu4mo ago
i have some minor fixes for v2 coming, but it wont be receiving any new features. i’ll play around with it for the next version noted
RiriRed
RiriRedOP4mo ago
how soon is that cuz i rlly been trying to map controller to keyboard w out it changing the game inputs cuz it will js change back and forth to keyboard and controller u cant even play at that point i used joytokey andautohot k ey but games detecet autohotkey as cheating so not even possible
halu
halu4mo ago
i cant put a timeline on it. this category of applications use global input listeners, ie your game is in focus but mechakeys can still see keystrokes sent to a game. I’m not familiar with any global controller listeners, so i’d have to do sone research on feasibility. and i’d have to take into consideration if analog input should have any sound options
RiriRed
RiriRedOP4mo ago
i mean for now till you make develompent for controller only like controller sounds and ect why wont u let us connect controllers and js hear the keyboard sounds but using a controller to ion know much ab development you obv know better than me but by my brain i think it wont be hard right? i dont rlly know much ab the keystrokes thing till then maybe when using a controller dont let it count keystrokes? idrk how it works tbh im js kinda desperate for irt it*
halu
halu4mo ago
I simply not sure how atm. it really comes down to how the operating systems and controller software work. They might not allow sending inputs to multiple applications which is why a global listener hack might be required. the challenge is not so much in selecting the input device as it the permissions system around listening to the device. if you know of any open-source overlay software that can read controller inputs independently of games, that might help me figure out an approach. i might be able to throw together a quick proof if concept if theres an established way. if i have to write my own polling system its starts entering a more tedious realm of development
halu
halu4mo ago
40wattrange
RetroSpy Technologies
Front Page
Reddit
From the speedrun community on Reddit: How to Show Controller Input...
Explore this post and more from the speedrun community
GamePad Viewer - The Official Controller Display & Tester
Show your gamepad input live on Twitch and upgrade your experience with personalized controller skins!
RiriRed
RiriRedOP4mo ago
i mean there r many rhat people uses if ure talking ab overlay it shouldnt be hard to find one it like displays ur controller on screen if thats what ure talkin ab ppl mostly use it for streams to show the viewrs what buttons theyre pressing and everything u want me to show u what im talking about?
halu
halu4mo ago
GitLab
gilrs / gilrs · GitLab
Game Input Library for Rust.
GitHub
GitHub - fornwall/gamepads: Rust gamepad input library with a focus...
Rust gamepad input library with a focus on ease of use. - fornwall/gamepads
Are we game yet?
Input
Libraries to handle controllers, gamepads, keyboards, etc.
halu
halu4mo ago
yea
RiriRed
RiriRedOP4mo ago
yes its this one gamepad viewer you should know ab it
RiriRed
RiriRedOP4mo ago
No description
RiriRed
RiriRedOP4mo ago
basically it js shows what buttons you press on screen like a overlay i think yk ab it yea it detects ur controller input obv but yea this is probably the best one Gamepad viewer used the most
halu
halu4mo ago
Unfortunately its not open source, but does mention the open source tools it uses.
Thankfully, this is all possible due to Marcin Wichary's Gamepad.js and Tester.js libraries, which I've modified for my own purposes
its also a webpage, so its not exactly inaccessible. So I could prob make a browser based version similar to his tool pretty quickly. would that be okay? or i could make a native tool with rust, which would be less resource intensive but take longer to dev. i’ll prob do that for v3 later.
RiriRed
RiriRedOP4mo ago
thats okay but i will get what i want till u make v3 right?
halu
halu4mo ago
i could throw together something quickly rn it wont be great but might get the job done
RiriRed
RiriRedOP4mo ago
hm lemme see also tysmmmmmmmmmmmmmmmmmmmm
halu
halu4mo ago
if his web tool works for you and ur okay with a browser based audio source then it should be ez
RiriRed
RiriRedOP4mo ago
the app would be better but ig a web tool wont be that bad for now when will u turn it into v3 and how will you do it if u dm me asking?
halu
halu4mo ago
v3 still has no timeline, its hard to prioritize as its both involved and has no financial support.
RiriRed
RiriRedOP4mo ago
maybe update v2?
halu
halu4mo ago
would be too hard unfortunately v2 is a bit of a mess
RiriRed
RiriRedOP4mo ago
maybe beta for me?😭 i
halu
halu4mo ago
it’s cleaner and more secure than v1, but its got other issues and i lack full control i can make the web thing app like, but ultimately its still a web view v2 is just too annoying to mess with
RiriRed
RiriRedOP4mo ago
lets see what this web thing is right? if its too good maybe u can even create another app like mechakeys but for roller name it smth like MechaRoller how long is it gonna take? @Captain Halu hey bro did anythin happen?
halu
halu4mo ago
I haven't even started yet lol prob tomorrow, I'm still in the middle of something
RiriRed
RiriRedOP4mo ago
Awh man okay ima tty tmr gl @Captain Halu hey wassup dude no pressure at all but when u gettin to it? wassup dude
halu
halu4mo ago
eating breakfast, will start in a bit
Abød
Abød4mo ago
Brunch
RiriRed
RiriRedOP4mo ago
okayy shi wb now😭 @Captain Halu if ure busy bro its okay lmk i js wanna know when im getting it so i wont ask over n over again
Abød
Abød4mo ago
:joobishush: :AxH_MercifulBarber:
RiriRed
RiriRedOP4mo ago
Does that mean something good
Abød
Abød4mo ago
No it means shush
RiriRed
RiriRedOP4mo ago
i mean he aint replyin and ion wanma be the 1 to rush somebody i js want a update yk @Captain Halu hey man ion wanna ask and bother much but can i get a update?
Loco
Loco4mo ago
chill man hes a busy guy lol
RiriRed
RiriRedOP4mo ago
a lil update wont hurt but okay😭 im being patient n thankful for him
halu
halu4mo ago
I had some unexpected company and had to immediately pivot to chores and hosting. Reprioritizing this to start tonight or tomorrow. not sure how long it will take to develop exactly, but shouldn’t be too bad
RiriRed
RiriRedOP4mo ago
Okay man and npp i will reply to this in a few hours to see wassup Thanks
halu
halu4mo ago
I think i have a decent idea of how to capture and organize state just note sure what the best way is to handle some functions... tho i have some ideas will experiment with technicals now that theory is mostly out of the way
RiriRed
RiriRedOP4mo ago
okay you know better but i thought its starting as a website now a app? i dont rlly understand but okay lets see how it been?
halu
halu4mo ago
rolled my own input hook tho i still want to add more details around dead zones and sensitivity for analog inputs Should be able to start implementing basic sound tomorrow and UI and Editor the day after. that might take 2 days tho k got deadzones and sensitivity working in a rudimentary, hacky way had to implement a hack to capture inputs when not in focus… admin may still be required for games tho, will have to test
RiriRed
RiriRedOP4mo ago
okayyy thank u so much have u added the clicking sounds yet or no?
halu
halu4mo ago
the audio just feels so laggy... its weird... gonna experiment more. might not be doable with web tech if its this bad ok i think its fine. for some reason tone.js was much slower than howler not sure why, i was expecting it to be more performant
RiriRed
RiriRedOP4mo ago
okayy so how is it now?
halu
halu4mo ago
k think tonejs is working now too... ish just allows some cooler stuff so it would be preferable so i guess its pretty much working. I'll prob scratch out the UI tomorrow and file handling file handling is the worst part 😫
RiriRed
RiriRedOP4mo ago
awh mann its okay tho u can get to it but will u release this as an actual app??
halu
halu4mo ago
it will be a standalone app, but I don't really want to maintain it. so it prob wont be particularly featureful. V3 is supposed to have controller support anyway, so this is more of a study than a commitment
inx
inx4mo ago
open source?
RiriRed
RiriRedOP4mo ago
so its not good? like wym i cant use it when ure done or what
halu
halu4mo ago
idk havent thought about it yet you can use it, i just wont be adding features or fixing minor bugs
RiriRed
RiriRedOP4mo ago
when is v3 coming out then and tmr is the estimate like u will send me a exe or smth or what how can i use it
inx
inx4mo ago
chill out homie software takes time to develop 😭 i hope its open source tho, if halu wont continue the project then maybe other people will
RiriRed
RiriRedOP4mo ago
aho okay lolol it will do good if its open soutce tbh
halu
halu4mo ago
my hesitation is mostly that its not done well, same with V2 (proprietary stuff aside) I'd rather share something that doesn't rely on web tech
inx
inx4mo ago
Tauri :D
halu
halu4mo ago
it is, but the detection and audio is still webside ur staff tho so i can add u as collaborator if you want to take a peak at it l8r i don't do estimates on deliverables any thing could block you last minute which makes it a futile practice
RiriRed
RiriRedOP4mo ago
okayyy thank u smmm when its done lmk lmk plus updates would be appreciated
Abød
Abød4mo ago
halu
halu4mo ago
hmm… this layout is more difficult than expected. close to finished tho. but thats just the layout… still haven’t bound anything functional to it
RiriRed
RiriRedOP4mo ago
AIGHT BET THANK U SO MUCH
Abød
Abød4mo ago
:robo_pepenog:
halu
halu4mo ago
new issue
halu
halu4mo ago
The browser doesn't provide us with an event based API, so we have to build that abstraction on top of the polling based API they offer... Manually polling in JS is pretty rough... doing anything sub optimally in the polling loop causes garbage collection issues I can poll less frequently for now. but long term... - i probably have to move polling to a worker to separate it from the rendering and audio perf. - i can uses static memory and mutation to avoid GC issues but these optimizations are beyond the immediate scope. i'll loop back at the end if i have time. ultimate everything should be rewritten in rust and avoid web tech. but wutever
RiriRed
RiriRedOP4mo ago
Whatever works cuz i seriously dint understand anythung but thank u so much @Captain Halu yo any news
inx
inx4mo ago
rust is the way to go trust
RiriRed
RiriRedOP4mo ago
Whats that
inx
inx4mo ago
a different programming language, not web-based if i had the raw sound files i could maybe help out with the programming but i dont have them
RiriRed
RiriRedOP4mo ago
idk anything ab programming hes the one doing it not me so idrk tbh how long this will take @inx also bro how did u get that yvl text can u send it to me lol
halu
halu4mo ago
I’m considering it after i figure out how things work with the JS prototype audio is the hardest part for rust, i don’t think there’s a lib as helpful as tone.js (ie chaining effects etc.)
RiriRed
RiriRedOP4mo ago
anything that works best
RiriRed
RiriRedOP4mo ago
Sorry idk what to do with that is that for me or the other guy Hey dude @halu is there like a estimate now? Also thank u sm for ur work
inx
inx4mo ago
he already said, he doesn't do estimates
RiriRed
RiriRedOP3mo ago
yeahh but idk he said it will prob take a day idk if he switched to makin a app or he js doing the web idk ab programming @halu yoo any news bro
halu
halu3mo ago
i’m touching grass
RiriRed
RiriRedOP3mo ago
ah man u gotta put me on that fr😞 @halu been long enough any news man
halu
halu3mo ago
still touching grass
RiriRed
RiriRedOP3mo ago
cmon
halu
halu3mo ago
its summer
RiriRed
RiriRedOP3mo ago
yeah true and u have ur own life i js kinda want it lol or idk add controller support or something to mechakeys
halu
halu3mo ago
i’ll try to prioritize it a bit it’s technically been functional, there’s just no ui or state management ui is easy, state management is… not fun
RiriRed
RiriRedOP3mo ago
yea it is hard n u have ur own life i js rely on u for this ion have anyone else
Loco
Loco2mo ago
@Killen, wants this program too
Killen
Killen2mo ago
yes bro ive been asking for it for like months didnt know it was in progress lol well my friend if they were making one
halu
halu2mo ago
ok irl stuff mostly setting down. got some house chores i need to catch up on, then i can get back to work
Killen
Killen2mo ago
alr thanks man lemme know when u have it kinda done
halu
halu4w ago
might have jury duty… the settling down unsettles Turns out controllers are non-trivial to deal with 😭

Did you find this page helpful?