M
MechaKeys7mo ago
Riri

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
109 Replies
halu
halu7mo ago
not super familiar with controllers but i’ll see what I can do prob wont be anytime soon tho
Riri
RiriOP7mo ago
or add a controller tab to the mechakeys v2?
halu
halu7mo ago
is there a particular controller software or driver or something that you’re using?
Riri
RiriOP7mo 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
halu7mo 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
Riri
RiriOP7mo 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
halu7mo 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
Riri
RiriOP7mo 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
halu7mo 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
halu7mo 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!
Riri
RiriOP7mo 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
halu7mo 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
halu7mo ago
yea
Riri
RiriOP7mo ago
yes its this one gamepad viewer you should know ab it
Riri
RiriOP7mo ago
No description
Riri
RiriOP7mo 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
halu7mo 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.
Riri
RiriOP7mo ago
thats okay but i will get what i want till u make v3 right?
halu
halu7mo ago
i could throw together something quickly rn it wont be great but might get the job done
Riri
RiriOP7mo ago
hm lemme see also tysmmmmmmmmmmmmmmmmmmmm
halu
halu7mo ago
if his web tool works for you and ur okay with a browser based audio source then it should be ez
Riri
RiriOP7mo 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
halu7mo ago
v3 still has no timeline, its hard to prioritize as its both involved and has no financial support.
Riri
RiriOP7mo ago
maybe update v2?
halu
halu7mo ago
would be too hard unfortunately v2 is a bit of a mess
Riri
RiriOP7mo ago
maybe beta for me?😭 i
halu
halu7mo 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
Riri
RiriOP7mo 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
halu7mo ago
I haven't even started yet lol prob tomorrow, I'm still in the middle of something
Riri
RiriOP7mo 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
halu7mo ago
eating breakfast, will start in a bit
Abød
Abød7mo ago
Brunch
Riri
RiriOP7mo 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ød7mo ago
:joobishush: :AxH_MercifulBarber:
Riri
RiriOP7mo ago
Does that mean something good
Abød
Abød7mo ago
No it means shush
Riri
RiriOP7mo 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
Loco7mo ago
chill man hes a busy guy lol
Riri
RiriOP7mo ago
a lil update wont hurt but okay😭 im being patient n thankful for him
halu
halu6mo 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
Riri
RiriOP6mo ago
Okay man and npp i will reply to this in a few hours to see wassup Thanks
halu
halu6mo 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
Riri
RiriOP6mo 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
halu6mo 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
Riri
RiriOP6mo ago
okayyy thank u so much have u added the clicking sounds yet or no?
halu
halu6mo 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
Riri
RiriOP6mo ago
okayy so how is it now?
halu
halu6mo 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 😫
Riri
RiriOP6mo ago
awh mann its okay tho u can get to it but will u release this as an actual app??
halu
halu6mo 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
inx6mo ago
open source?
Riri
RiriOP6mo ago
so its not good? like wym i cant use it when ure done or what
halu
halu6mo ago
idk havent thought about it yet you can use it, i just wont be adding features or fixing minor bugs
Riri
RiriOP6mo 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
inx6mo 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
Riri
RiriOP6mo ago
aho okay lolol it will do good if its open soutce tbh
halu
halu6mo 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
inx6mo ago
Tauri :D
halu
halu6mo 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
Riri
RiriOP6mo ago
okayyy thank u smmm when its done lmk lmk plus updates would be appreciated
Abød
Abød6mo ago
halu
halu6mo 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
Riri
RiriOP6mo ago
AIGHT BET THANK U SO MUCH
Abød
Abød6mo ago
:robo_pepenog:
halu
halu6mo ago
new issue
halu
halu6mo 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
Riri
RiriOP6mo ago
Whatever works cuz i seriously dint understand anythung but thank u so much @Captain Halu yo any news
inx
inx6mo ago
rust is the way to go trust
Riri
RiriOP6mo ago
Whats that
inx
inx6mo 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
Riri
RiriOP6mo 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
halu6mo 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.)
Riri
RiriOP6mo ago
anything that works best
Riri
RiriOP6mo 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
inx6mo ago
he already said, he doesn't do estimates
Riri
RiriOP6mo 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
halu6mo ago
i’m touching grass
Riri
RiriOP5mo ago
ah man u gotta put me on that fr😞 @halu been long enough any news man
halu
halu5mo ago
still touching grass
Riri
RiriOP5mo ago
cmon
halu
halu5mo ago
its summer
Riri
RiriOP5mo 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
halu5mo 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
Riri
RiriOP5mo ago
yea it is hard n u have ur own life i js rely on u for this ion have anyone else
Loco
Loco5mo ago
@Killen, wants this program too
Killen
Killen5mo 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
halu5mo 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
Killen5mo ago
alr thanks man lemme know when u have it kinda done
halu
halu4mo ago
might have jury duty… the settling down unsettles Turns out controllers are non-trivial to deal with 😭
Riri
RiriOP3mo ago
man its been month captain halu did u do it? summers over i hope uve done it or at least add controller support for mechakeys man i rlly want this @Captain Halu
halu
halu3mo ago
Didn’t have an answer till now. It’s still technically minimally functional as is, but it’s not in a state I’m satisfied in releasing. TLDR, i want to broaden the app to support arbitrary devices which means adding support for a lower level api and some others. I still need to do some research here and make a more unified wrapper over the various input methods. I still haven’t finished state management either. Aside from family issues the main hold up has been my computer itself. I’ll attempt to wipe it this week and resume coding after that. but its still not really a priority in my life Even when I do finish, it’s basically still just a proof of concept as it uses web tech rather than more native approaches to things One cool thing it might be able to do is detect speed/force you push buttons at if you use a pressure sensitive input device. With this you can manipulate sounds or play different ones all together. one of the tells of uses these types of software is audio that doesn’t match input force/speed and lack of variation.
Riri
RiriOP3mo ago
@halu hope everything goes well with your family. truly hope the best for you and your hard work. i get it but i dont understand many of these things since i dont know anything about developing you know the best truly. thank you for your work to be honest, i fyou can at least add support for controller and let it play keyboard sounds that still wont be that bad till you make a controller app or add a controller section or js something with controller sounds. i truly thank you i hope you can do it its cool to have it i hope its a priority for you thank you again
Killen
Killen2mo ago
hello sir is the controller mechakeys still being worked on? just wondering 🥺
halu
halu2mo ago
yes, just admittedly slow
Riri
RiriOP2w ago
captain halu @halu where r we at? are we done with it how much is there left its november my bro @halu hi can u priotize it a little more i lowk want it so bad😭 ure our only hope @halu i tried to make my controller map to keyboard while it doesnt detect in game which is kinda impossible i tried using a app called reWASD basically map controller keys to keyboard there is a mod in it called associated apps i only chose mecha keys but it still ruined my game like my game detected it and it was js a big mess so i dont know what to do really if u can develop the controller support or make the controller part like same thing as mecha keys but for controller, yk controller sounds and stuff ure our only hope lol its been 7 months💔 yo @Captain Halu i know ure a busy guy and stuff but i just really want a update on this
halu
halu2w ago
i’ll work on it tonight i also gotta write an EOL statement for v2’s last update
Riri
RiriOP2w ago
YO @Captain Halu FINALLY BRO😭 i swear its so hard to get in touch with you i swear😭😭 can you actually do it this time its been literally 7 months😭 @Captain Halu if i could help u IN ANYWAY possible just tell me bro i just want this made SOOOOOO BAD😭 add me if you want i got a dualsense edge if you need sounds or something and a real ps5 controller ong bro im happy as hell u finally replied
halu
halu2w ago
the hold up was basically that i found a different way of handling inputs, so i have to start from scratch. also controller profiles are much less standardized than i initially anticipated theres still some state management to figure out, but i can prob get you something functional without it.
Riri
RiriOP2w ago
im js IN NEED atp😭 or meanwhile u make it fully made add controller support but if u can make the controller js like mechakeys and add it into the app or anything i would be happy as hell bro plus it will bring a lot of value anyway i can help you?
halu
halu2w ago
no more features will be added to V2. but, this controller thing should be able to handle keyboard stuff as well (i hope)
Riri
RiriOP2w ago
so what will you do and when exactly? also we talked about v3 and you told me you would add controller feature what happened to v3 @Captain Halu? just anything would be nice man i been trying so many ways lol i js couldn’t so only hope is you and i dont really mean to bother you
halu
halu2w ago
V3 is a but of a contentious topic… mechakeys is technically owned by a company that i am not a part of. I didn’t expect any issues with V2 as it was just an unofficial client. The issue with V3 is that i’d be pilfering the user-base to a service i control under a brand and IP i do not control. That’s not something I’m comfortable doing without permission or outright buying the IP (which i prob cant afford given others have offered more than I’m willing to pay in the past). I’m not ready to have any such discussions with robo atm this controller app is a small experiment into what I’d want a V3 to be, minus: - networking stuff, it’ll be entirely offline - security stuff (real anticheat & integrity checks) - performance stuff (rust) so its just an experiment
Riri
RiriOP2w ago
great i understand okay so what will you do for those who want controller support what will you do now is the question what should i expect? please dont say nothing😭
halu
halu2w ago
its just a separate app. if you want controller support under the mechakeys brand, well… i wouldn’t hold my breath
Riri
RiriOP2w ago
lmaooo so u will create a seperate app? basically mechakeys but controller? is that what we will get? @Captain Halu
halu
halu2w ago
yea, but offline. no accounts (i make that online/offline distinction cuz thats the only defining feature of mechakeys at this point)
Riri
RiriOP2w ago
can people get into it tho? wym is the app wont have accounts and progression but people can download it? and when will that be made?? @halu where we at i really dont like spamming but can you answer youre online so i dont know @halu @Captain Halu wassup bro reassure me at least, ion want to annoy you

Did you find this page helpful?