#palera1n
1 messages · Page 118 of 1
@rapid spade if u dont mind getting me the file found with that command (or u can find it in filza following directions from the pinned message) so i can investigate further
This command?
should put the last argument in quotes to avoid shell globbing
true
yes
plutil $(/usr/bin/find /private/var/containers/Shared/SystemGroup -type f -iname "*MobileBluetooth.devices.plist") > devices.plist
that miiiight work
oh hey first try
nice
ya so that command works.
it makes a plist file wherever you are, just upload that
btw as suggested by @silent anchor should add quotes to the *MobileBluetooth part to avoid shell globbing
plutil $(/usr/bin/find /private/var/containers/Shared/SystemGroup -type f -iname *MobileBluetooth.devices.plist) > devices.plist
edited, confirmed still working
In the search bar for root?
Filza
wont work in filza lol if you dont know what im talking about, dont worry about it. just grab the file manually
mines just a way to automate it
@silent anchor @rapid spade can still find the file using your instructions via filza
that'd be the easier and more approachable solution for most people i think
ya the pinned ones
Ill search filza for MobileBluetooth.devices.plist
that should find it as well
i forget people dont use terminal much lol
i love bash
but my server is exclusively cli (and filezilla for ftp but even thats sftp) so i guess thats just what im used to
yeh i generally do everything in the command line as well
"ill try to dumb it down to one command on the terminal" "whats the terminal?" "oh ya"
i jump back and forth between terminal and iTerm. iTerm is pretty nice
Did I do it right?
yeeee
yep
Awesome
@rapid spade you said u ran the "fix pairing issues" right? cuz this plist doesnt look like that happened
I’ll try it again. Walk me through exactly what I should do for that
in the info / pairing screen
when u hit the action button it should have a choice "Fix Pairing Issues"
Just hit it when trying to turn the controller on?
no do that now and THEN try connecting again
it doesnt need the controller to be on or active to make the change its making.
but after making the change it should pair and stay connected
Try that
feel free to delete those messages after i grab the file since thats a list of your bluetooth devices
yeap its failing to make the change for some reason. thats super fun @rapid spade what jailbreak are you using out of curiousity?
Unc0ver
Looks like they support 14.3 now. I might be able to upgrade
Uncover 5.3.1
@rapid spade what os are you on currently? i should've asked that too
Should I try a different jailbreak?
@rapid spade check DM
@rapid spade nah i was just curious
trying to look at every variable
but the nControl app is failing to update that file for some odd reason
and maybe they missed a patch in an older unc0ver i dont know. sandboxing stuff is tricky
actually maybe im wrong
cuz i did download the updated version of the app, but i dont think i ever ran it, but maybe i did.
depends on if i updated the app since or before this morning when i woke up
cuz i woke up and my phone rebooted so had to rejailbreak
@silent anchor haha i know the feeling of where your head is at right now
lmao i highly doubt that
unless youre way freakier than i thought you were
in other news, distillate is kicking in XD
lulz
i mean i did take 10 hits of acid that one time
although i guess it depends on what freaky context u are talking about
lol
guess i gotta get some error checking in there for this stop gap fix so i can at least tell the user it was successful or not. ugh would hate to have to add a setuid tool or XPC service just for this. its weird tho cuz the file is owned by mobile
however, the nControl app is owned by a strange user number (502) and if things are more stringent that could potentially make a difference
Now that I’ve made that change. What do I do next
pfft i might be on my way there, but im not gone enough yet to spill my secrets XD
@rapid spade killall -9 bluetoothd and then try pairing / connecting again
nito we already established they dont got terminal
Yee
uhmmmmmmmm
oh right
restart bluetooth services in nControl
lol
dumb
(me)
@rapid spade
and then try connecting again
Nada
@silent anchor i actually sent them a custom file where i made the change myslef
myself*
to put in place
ah
you sent them the bin version right?
not the xml1 version?
@silent anchor
yeh
@rapid spade i forgot we restart bluetoothd twice for some reason to get the change to propagate so try one more time
restarting one more time and connecting one more time
Ok
@silent anchor what iOS version are you on again?
process goes: pair through ncontrol. wait for it to disconnect, then wait another idk 5 seconds. then go into the device in ncontrol, tap the fix pairing button. wait like 5 seconds. turn on controller, connect through ncontrol
14.2
i dont think thats needed btw nito
just that we didnt kill ncontrol when doing it
13.5
if i cant find my old phone i think its running 13
ugh actually no its downstairs and thatrequires pants
yeh im not sure when this fix started working and if the os version has anything to do w/ it. grasping at straws right now
No luck
although 5 months ago is when u originally posted this, u could've even been on 13 still
well i was on 13 back when i originally posted the thing
okay im completely dumbfounded
like 3 days ago
yeh
ok well
ughhhhhhh
hes gonna have to get newterm or somethign lol
we gotta be able to see whats going on
knw it
how? why? ugh
you sent him the xml1 version didnt you
no
i made the change in xcode i never converted it at all
yeh the one i sent is definitely in binary
...
let me convert it with
did you figure it out
that looks like an "im/this/your an idiot" kind of .....
Should I try to update to iOS 14.3?
i wouldnt lol
just hold on
what controller again?
the fact he hasnt responded makes me think he found the issue
whos fault was it nito
@rapid spade eh maybe maybe not i dont know yet. im going to send u one more build in a second
i mean most things are my fault in my experience lol
ya but
@rapid spade check DM's
they would be the programmers in that case
im wondering if nControliOS has mobile:mobile if itll make any difference
doubt it
for one last try (for now) try the "fix pairing issues" option @rapid spade
its not the permissions running ncontrol, its the permissions ncontrol has
@silent anchor its failing to edit the file and nControliOS is owned by 502:staff
which isnt even a thing
checkra1n probably doesnt give a flying fuck
other jailbreaks might. im just trying everything at this point.
i doubt itll make any difference, but i dont know that it wont
well they are using a unc0ver but just an old one on 13.5 so yeh maybe that has something to do w/ it
im preeeetty sure i used uncover when i was on 135
and thats where its failing
the file is owned by mobile:mobile
waitwait
BUT it is in a sandboxed location
yeh?
i just renamed it
so the file didnt exist
which means it had to be regenerated
by the next thing to use it
aka ncontrol
and?
Installing it now
which means it generated the file using ncontrols permissions
but if it already exists, it might be root permissions
nah because nControl wont make it from scratch
and it also didnt have root permissions it had non existant ones
502:staff
but ncontrol was the one to innitially pair the device
doesnt matter the pairing is still done through bluetoothd
hmm alright
Still won’t connect
@rapid spade and u did the 'fix pairing' thing again right?
i assumed it wouldnt help but i had to rule it out (the owner/permission change)
if u can safely get to 14.3 then it might be worth a shot. cuz im out of ideas
Yes
@silent anchor u dont need to for this, but yes
@burnt river yes
maybe you do
otherwise cydia wouldnt work
worth a shot
yeh but thats not a small task to add a setuid tool or XPC service to make the attempt
i mean its not a HUGE task, but its not as quick & easy as anything else ive cobbled together here as a test
just checked, that file is owned by mobile:mobile
if for some reason his is root:root, that might be it
yeh i had already checked that im wondering if the actual PATH to the file is the problem, and not the file itself
so you confirmed his is owned by mobile mobile? for the plist
yes
i made certain that when he copied it over that it preserved those original permissions
nControl is not sandboxed
or containerized
its in /Applications
im also wondering if i could shoehorn access in by adding missing entitlements to the app or anything. should check the bluetoothd ones and experiment with that. but after i take a break. i need to walk away from this for a tiny bit
lmao
but yeh changing that didnt help anything, i wasnt confident that it would
but i had to rule it out
Just let me know what to do. I’m going to try to update to iOS 14.3
ya updating should make it work regardless
but were kinda just throwing ideas back and forth
@rapid spade thats your best bet. hopefully its just a weird unc0ver issue
anyhow, going to take a break and watch some tv and just relax for a tiny bit. mentally spent on this right now
Should I use uncover for the next jailbreak?
uncover best yus
@rapid spade yeh the newer version should work fine
screw tetherd jailbreaks
I just downloaded the newest update from uncover
@silent anchor dont hate i still use checkra1n on 99.99% of my devices lol
i be hating
especially since im a windows gal
well
eh im debating swapping to linux. but still
yehhhhh windows support has been a bear lol
i only have linux installed on my secondary laptop, and running it means i have to turn off eufi mode
so its a pain
pretty sure they are still working on it tho
so i dont bother
tbh if i was them i wouldnt bother
the window has more or less closed
ive been lazy with the checkra1n wire/slack updates.
i mean not really
its still applicable to tons of devices that still get updates
and ppl still want a windows version, its just a huge PITA
better is a relative term
installing ipas is still a huge pain in the ass
even for seasoned devs lol
plus 14.4 isnt covered etc
not everyone can get to 14.3
i dont use alt anything
not a fan
and reprovision doesnt always work. and hes discontinued updating the project so one more annoying change by apple and that goes the way of the dodo
ya but as of now it still works lol
I missed my chance to upgrade to 14.3
i save blobs like every month or two
@rapid spade i was afraid of that
probably
Yes
i think they did that a while ago
i was thinking u saved blobs or something @rapid spade
damn
It’s only 14.4 and 14.4.1
yah i knew 14.3 wasnt signed anymore which is why i said "if u can safely get to 14.3"
ugh
everyone should save blobs lol
ill try and troubleshoot more later, i need a break and probably some food again
yeh im not as good about it as i used to be
I don’t know how. I should look into it
i dont have one for 14.4 yet but i think i have all the other 14.x
but then again i dont buy devices that arent vuln to checkra1n so i dont really NEED to play that game anymore
oh ya i need to redownload tsssaver
anyhow, bbl @rapid spade ill try and help more tomorrow. im kind of spent on this for the night
Sounds good
same i can literally feel myself becoming useless lol
oop i think i corrupted my nonce
@boreal fable check your DMs
looks like we found the solution
🙂
and im adding a few more niceties to the app and then pushing a new release
to make it easier to share that bluetooth file and log files without mucking around w/ filza or the terminal
Woo
and last, but most certainly not least
it will report back whether or not the file editing was successful
which isnt exactly a solution but is at least more informative
AND DS5 support is fixed
it was exactly what i thought it was and thanks to @boreal fable helping me test out my theory and then then the resulting solution got it all sorted
okay 1.8.0-1 is now live for tvOS and iOS
🙂
updated the wiki for once too
okay NOW im done for the day lol.
can someone with admin privledges make it possible for me to at least pin messages? /cc @verbal galleon
Still worth asking
okay i dont see manage messages, and how would deleting a message change pinning it? lol
The permission
Xd
You don't have that permission
But that's the one that's needed
Lmao
i mean realistically speaking i should be a mod or whatever on my own channel for a tweak that i write lol
Did you get thc too XD
im practically always high lol
Ye that's why I said still worth asking
I had a big surgery semi recently so I haven't been able to get high, so my tolerance is low. Yay actually.
lol nice
@rapid spade check DMs
@burnt river is there any way to get you to work on dual-wielded joycons as one controller? Maybe funding to get you joycons?
@wraith ferry if someone wants to buy me the joycons/grip/charging stuff ill give it another shot
i cant make any promises tho. my expectations are low.
i still have to rearchitect nControl pretty heavily to even conceptually support that.
and joycons are weird, the data sent from the joysticks isnt very granular at all. to make them work as actual joysticks rather than a dpad is something i have no clue about.
i dont know if nintendo sends some kind of special command to denote its in this different mode to get more useful data.
and i actually dont need BOTH joycons, i have a blue one, just need red, charger & grip
its crazy how expensibe they are, imo its not even a good controller 🤣
I don't think a charger exists
Tru, I just wish I could use them with my phone as if it were a switch
I thought about using an Arduino to convert the data to ps4-style packets
ofc chargers exist
how else would u charge them? 🤣
its just tough because nintendo does everything weird
theres this SPI data the pro sends for calibration and parsing it is a nightmare
and dont get me started on the absurd wiimote pairing process that kept me from supporting those
speaking of chargers they are the cheapest part 🤣
ill even buy the charging grip. but i cant find a reasonably priced single joycon
not spending $50 on one joycon
Well that is half the price of a pair
where? the pair of official ones is like $70 everywhere i look
Canada it's about $100
But yeah if a pair is $70 $50 is just a robbery
yeh i couldnt find a single cheaper than that
from cursory searches
and fuuuuuuuuuck that
hard pass on “sharing” this “deal” 🤣
Could check out sites like Craigslist
Might be a good deal on one or a pair on there
My theory is it just sends raw data and the switch itself processes it after
Would make it easier to update switch firmware and still have things work and third party controller support would be easier that way
@burnt river seems like the new update didn't fix the dualsense connection issue I have
It still disconnects after .5s
@wraith ferry u need to fix pairing issues on EVERY controller individually
its not a universal wholesale thing
its certainly not ideal and i could prob automate it in some way but i just wanted to get some kind of solution out
i can see the data sent
its about what switch sends to it
and not owning a switch i cant determine that
I own one so
And it's hacked
So let me know you know
I can even open the ssh and just let you connect to it if you want
yeh i honestly dont even know how to capture data from it if i did own one
hardware isnt my specialty
Switch has been hacked long enough that you can probably find documentation on how the controllers work
@silent anchor ive read em all, and since hardware isnt my thing, ive taken those docs as far as they can take me
Well open offer. I got a wide open switch if you wanna test stuff
❤️
https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering also these are most exhaustive docs
tbh i think this pairing issue needs to be highest priority until properly sorted
@silent anchor one thing u could still help with is doing more research into this issue with me (the connecting / pairing one)
Ye
What devices does it not work with I wonder if I can find an old phone and just open up ssh and let you connect
@silent anchor so its all devices apple doesnt approve what i would like to do is have you grepping a system log for any feedback from 'bluetoothd' when it connects and disconnects
@silent anchor the reason this is useful is this is how i found other places to hook/patch when i first diagnosed the problem
What's the ios version of journalctl
they are very log happy, and strings they print out when it disconnects could be useful to pinpoint what is happening
i dont even know what jounralctl is lol
idevicesyslog
Lol the kernel logs basically for Linux
Tanks ❤️
though that's not on device
connect to computer and do it there
ah
Uhh anything I can use through ssh?
on device I don't remember how to get it except through sysdiagnose
there MIGHT be a way to view syslog on device now
press both volume buttons + power button at the same time
it will capture a sysdiagnose that may take like up to 10 mins
do this after triggering the issue
and it should be somewhere in /var/mobile/Library/Logs/CrashReporter
a better way probably exists for jailbroken devices
yeah but sysdiagnose is saved to the same place as crash logs
just has to be manually triggered
so a log of that in real time is going to be the most useful thing
specifically grepping 'bluetoothd'
Looks like sys diagnose is on device
yeah but it's not realtime
Wheres bluetoothd
/usr/sbin @silent anchor but u dont need to focus on where its located
its logs go same place as every other log does which u can get at with idevicesyslog
but for instance when it disconnects for me it says Rejecting unapproved game controller device
which allowed me to find the functions to hook to circumvent those checks
i assume it says something different when the cache check is what is invalidating it
Wheres idevicesyslog
its part of libimobiledevice
so if u have that installed, you'll have it
and itll be on your comp not on your device
still trying to find out if there is something on device that will log out oslog
Unable to locate package Libimobiledevice
Ah it's utils
Wait what
No device found. My dude you're running on the device
yeh it spits out alot so you'll have to start it test it and exit pretty quick to catch any helpful logs it might spit out
yep
and if u wanna grep JUST bluetoothd
oslog | grep "bluetoothd(" should do the trick
Alright got it
so yeh either undo that change to your switch controller and connect again
or find another controller to test
either should be fine
while grepping that log
Ya I'll Judy do the unpair thing one sec
cool ty
eyyy we got it
indeed we did
its actually fixed properly now, no need to do "fix pairing issues" anymore
no need for janky haxx m8
and im a complete idiot and need to walk away from the computer for the rest of the day
on that note 1.8.0-10 is now live for both iOS and tvOS
get really high. why do you think it took me so long to figure out how to install the logger lol
lol
now fix pngs 
smart man fix another problem
png no work
make sakura angary
Wheres the transparency summer
Wait what
But... Then why
I need a moment lol
im seeing pictures? what isnt working?
What do you mean
huh
I'm literally so confused
sorry i get it now. doing too many things at once and needed to actually look for more than a second
so its the same image, what are u doing differently?
it has to be something
Nothing I think
i mean how are you sending it? the same way both times?
Heck it I don't care if this channel isn't for this and I was literally joking
cuz that just doesnt make sense
eh u just helped me figure out a huge issue i dont give a fuck what u do right now
fascinating
if i open it in safari (the original post) it has the grey bg like displayed here
super weird
This one is a png
well i mean jpeg doesnt have a concept of transparency
id blame discord
It's possible
cuz electron
but it shows up funky in a web browser too
i mean they are both web tech
Psst guess what
but .... i dunno
yeh i know
dont mind me, my brain is spent all of a sudden. i just feel so fucking stupid i want to crawl in a hole and die
lol
not even a typo in the code itself, a typo in the fucking MAKE SCRIPT
just fuck
And then doesn't the rest of the time
lol
at least it all makes sense to me now tho- no more odd unexplainable ambiguity
magic
Omg lol
Ok. Go do more lol
Or get a burger
God now I want a burger
My roommate is mad at me. Remember the one I spent all day yesterday supporting?
I'm.hoping tomorrow or in a few days she will be fine.
But until then I'm low key kinda avoiding her
So ordering a burger sounds good
Cuz hecc making food
So how did ya fix the issues?
Square peg goes in square hole
Not round hole
Funnily enough that's legit what happened
@wraith ferry it was a build script mistake where tvOS dylib->iOS and visa versa
square peg, round hole
and it didnt matter with checkra1n cuz there are extra patches in dyld to make it possible for either to run on either. but that wasnt always the case in other jailbreaks
and i finally drew the conclusion that the dylib just wasnt loading at all when @silent anchor sent me some logs
saw the error, checked the files with otool, saw they were built for ios and tvos respectively on the wrong devices. and was like.. shit.
and thats why there were so many unexplainable issues that didnt make sense.
the dylibs were never loading at all
in certain circumstances
hahaha
probably not?
can never say for certain, bluetooth is kind of a sieve
🙂
as is its implementation
that is a such a weight off my back figuring that out finally.
oh lol very nice, just tried the update and the dualsense works!!
Now it's the joycons' turn to shine xd
Seriously tho, great debugging work 😄
just added about 4-5 new controllers that will be in next release
ik that's why im here
click it ultra
L it’s not here

I’ll try botspam
the bot isn’t in the server
Yep
is that Kim Jong-un on the yalu logo?
yeah
kim jong needs to lose weight
when legacy wasn't legacy
Welp lets move along people , don’t wanna clog the channel
true
ima move along to bed
gn
also this channel is not half dead.. it WAS very dead for a while but is quite active the last few days
speaking of which
8Bitdo SF30 Pro
MOGA XP5-X Plus (vid: 9414 pid: 35098)
GameSir G4s
Hori Lic Pro Controller (vid: 3853 pid: 246) are all supported now
and i fixed the configuration crash
(custom control mapping)
so if anyone is ever wondering if i actually look at the learning controller reports... i do now 😉
those are probably broken on 14 now tho for the same reason custom mapping was broken
apple keeps pulling shit from underneath me lol
and my replacement for getting some of these details still doesnt get me everything i need anymore. so i gotta address that issue still
28 controllers supported, not bad 🙂
and 6 of those are from the report learning feature. i plan to do as many as possible in the list of like 1000 some, although there are a bunch of repeats
you can tell when Kevin is on his broken bluetooth macbook rather than his iphone 😛
or my ipad pro lol. im that alot now too (got it for/from work) but its been helpful because i missed having a modern ipad. my personal one is an ipad 2 lol
but at the end of the day the 'learning mode' should only be a stop-gap stepping stone anyway. i really just need proper HID descriptor parsing so any controller just works immediately.
speaking of controller reports...
the dualsense's touchpad maps to "start" and its start and share buttons aren't correctly mapped to the dualshock 4 ones
:(
the touchpad isnt possible to properly support
it only sends data when pressed
and ps4 goes through system support, i just pass it thru
as far as how the ps4 option/share buttons work cs how dual sense works the raw reports didnt indicate any changes there
and without owning that controller there isnt much more i can do
its a shame these controllers are all brutally overpriced. $70 for a dualsense? hard pass
imo there isnt a controller in existance worth more than $50
anyone remember yalu
of course
of course 😉 lol
Pfft that's nothing, anyone remember limerain?
couldnt forget it, i spent a lot of time using it in Seas0nPass 😉
anyone remember ZiPhone? lol
Damn
hi
1.8.2-2 out for both iOS and tvOS. more cleanup / bug fixes. learning controllers should work again, and DS4 and Xbox controllers werent passing through properly but that should be fixed now as well.
and another controller added, im less confident this one will work perfectly oob but id be happy to be proven wrong lol. potential support added for the nvidia controller
had to do some backflips to get access to the data i wanted / needed. but got it done
lol
my first jb was evasi0n
there's a community dedicated to reverse-engineering the DualSense, they have bluetooth and wired reports available if they're needed :D
@wraith ferry its probably pretty much identical to dual shock
¯_(ツ)_/¯
Is there any way to remap controls on my own?
It really is annoying that I can't use share, touchpad and start as they were intended to 😅
@wraith ferry theres a ui to remap the controls, but it doesnt include the touchpad.
although apple does appear to track things in it now, so i might be able to wrangle something, cant promise anything tho. im working on hid parsing atm though
hi! is there anyway to download ncontrol without cydia? i bought it from repo.packix as a way to avoid jailbreaking but i can’t seem to figure it out if it works 😦
ty!
yeh it 100% needs a jailbreak to work
@burnt river any news for ncontrol?
@burnt river PS4 DualShock connecting but freezing after 10-15 secs on nControl controller test screen. nControl 1.8.3-1 on 14.3 8gen iPad jailbroke with latest unc0ver. Can’t even get the controller to function in a game
That zagg message in the log is my Bluetooth keyboard. I’ve disabled it and and trying to connect the controller again but I’m not having any luck this morning.
@burnt river
ps4 is supposed to just be passed through for apple support
yeh it says its passing in through
if the controller stops working thats an apple bug not an ncontrol one
since ps4 is just passed through
and tbh their ps4 support is atrocious. it stops working all the time for me too
i may have to look into hijacking and overriding their support since its so bad
but if i dont pass it through things get all funky because we both handle it, hence why id have to hijack and override theirs
@silent anchor try the latest, most of the major bugs bein reported have been fixed
@opaque glacier ill look into getting around apple support for it since its so horrendously buggy and try to make ncontrol take over as an option as again
i was hoping by iOS 14 their support would improve cuz it was garbage in 13 too
they cant even sherlock my stuff properly 🤣
and it looks like in 14 they kinda do something with the touchpad, ill investigate how that works as well
hmm thats fascinating and super weird, my controller test view isnt picking up the events from a DS4, yet if i leave that view it actually still works.
and then the next time it does just stop working...lol
Oh? If the controller connected and the test didn’t show any function, I assumed it didn’t work. Never tried a game
@opaque glacier its weird and unpredictable. it definitely stops working a lot. their implementation is not good or reliable at all
i knew it was bad in 13 as i mentioned earlier, but i hadnt really played w/ it too much in 14 until last few days and its still REALLLLLLLLY bad.
this is really confusing lol. i unloaded my daemon, it worked fine, loaded it again and it still works fine. no matter what its REALLY unpredictable.
im still messing w/ it. i dont have any good answers at the moment except turn it on and off until it works properly lol. thats the only way i can get a DS4 to actually be usable. lol
with or without ncontrol running lol.
Ya I’ve been trying the last hour. I can connect and
And then it freezes or drops..i dont know but the test app stops responding
yeh the test app doesnt work well with it for some reason. sometimes it works sometimes it doesnt and im not sure why right now. still poking at it
I haven’t gotten it to work with a game yet. I’m not sure if it’s dropping because I’m switching apps or for the same reason it drops while using the test screen
@opaque glacier i know for certain it drops out with or without ncontrol running, i thought for a moment it worked better without it running but i was disproven 5 seconds later running these tests. im trying to figure out how i can override it so i just take over for them instead.
and just make it an optional thing u can toggle on and off to have nControl just take over for DS4 still
okay i think i found a way to do that. its a bit of a hack but it appears to work so...
¯_(ツ)_/¯
good god even with my implementation its dropping out alot. what the hell is up with these things
wondering if its a battery or charging issue
had it plugged in all night but maybe not to a proper power source, cuz the light wasnt doing its little charging slow flashing glow thing that it it is now.
@opaque glacier i imagine you have made sure that its properly fully charged (i thought i had but clearly hadnt lol) nonetheless i've put together a new version that can toggle support between apples and nControls for the PS4 controller, after a little more testing ill put out a new version and you can see if that works any better for you.
have to hook IOKit to do what im doing, but it works lol. just glad i had code laying around for the research phase of this project that hooked exactly what i needed to do this
come to think of it, with this i could potentially force the DS5 to conversely use apples support for the DS4 FOR the 5.
i bet @wraith ferry would be interested in that idea 😛
Aw yis :)
i cant promise it will work, but it SHOULD if u wanna be a guinea pig i could add that and u could test it out b4 i put it out
Nice. Is this only a problem with ds4 controllers?
@opaque glacier as far as i know
i dont THINK Xbox ones drop out like this
dont remember hearing any reports or experiencing it either
@wraith ferry i have a build where DS5 could potentially attempt to use built in support for DS4 if u want to give it a spin
Sure
@wraith ferry i cant DM you lol
send me a DM or friend me or whatever u need to do, not dropping debs in the room lol
it gave me the same error but i dont limit who can message me
@wraith ferry i just sent a friend request maybe that will fix it lol.
Accepted ^^
im no longer sure who is to blame for the disconnects, happens with my code too, its starting to actually sound like a sony issue. im going to keep investigating tho
either way new nControl out where you can switch between nControl and apple support for DS4, AND alternatively you can have it use built in DS4 support to support the DS5 (mostly).
either way i probably gotta stop working on this for a bit lol.
Thanks @burnt river . For everything 👍
no problem 🙂
i might still try to cobble together some kind of hid descriptor parsing before i step away again, kind of bound and determined to fully understand that. i should by now 🤣
I’m liking all of these updates. My PS5 controller pairs easily now. Very rarely though for about 30 seconds it will sort of disconnect while playing cod mobile. Usually only happens after being connected and playing for a couple hours. So far, I’m digging it.
Hello,
I tried to use an Ipega 9156 controller with NControl 1.8.3-1, which was recognized as an evo vr pro but it was not in the list ...
NControl no longer recognizes the PG-9156 since the last update (1.8.4-1) ...
Is there another way to operate this controller on NControl?
@ruby flame looks like one of my changes mustve broken that support ill look into it later today, sorry about that!
made some consolidation changes where id stop building repeat files to add support to controllers that used the same mapping to improve build speeds and apparently that broke somethin. hoping thr ipega i have is a sufficient test. dont remem the model
just ordered some refurb joycons so i actually have a set
and a charging grip, hopefully having my own will yield more luck getting it to work as a single controller
ebay was way to go, got all of that for less than a set of new joycons by themselves 😂
granted its gray joycons with a red charging grip, so theres no matching but idgaf bout all that 🤷♂️
@burnt river the grips don’t actually do anything special in terms of connectivity
it’s just charging
@loud bridge i dont have any way to charge them otherwise lol
i dont own a switch
so i might as well get the charging grip
it was like $60 total
jfc
lol
i mean the joycons by themselves are usually $70
which is still ridiculous
but that + the charging shit wouldve brand new been like $90-$100 total
and that wasnt something i was willing to do, $60, i dont enjoy doing it, but ill live.
it was the fact they are all still official nintendo stuff (albeit used) and i was still spending less than a pair of brand new joycons that i was like 'fuck it'
you somehow need to map them together to work as one controller
easier said than done
i’ve managed to make it work on windows before
i have just one of the two and no charging shit, and even single joycons are even MORE absurdly priced
virtual controller which responds to the two controllers button presses
and the one single one i have is a little janky, so i figured just buy a pair and a charging grip and im set
i mean my controllers are all already virtual, theres just no support for two hid devices to register as one virtual. its possible, but itll be much easier to figure out if i actually HAVE the controllers in question
most of the stuff i can implement with enough raw report info and an HID descriptor, but this is different lol.
and i kept looking on amazon for anything reasonably priced, never saw anything that was official nintendo gear (and while the other knockoffs probably act the same, it just isnt the same. need to be certain i get it working with the proper controller) hence me looking to used stuff on ebay
cuz idgaf about its condition, im not ever going to use the controllers after i get this working lol
as long as they function properly im good lol
have you got the pro controller working yet?
and the condition is 'refurbished' so im sure they fine
pro controller has worked forever
ahh
if u are talking about the pairing issues that bug was also fixed
and it wasnt even really a 'bug' it was a goddamn make file issue
lol
the only issues you’ll probably have with joycons as a controller is the stick drift lol
the pro has the same issue
but that’s now a all controller issue
xbox series and ds5 controllers use the same joysticks
and it has indecipherable SPI data telling u about joystick calibration shit but i never could parse it successfully
i also just realized that USB devices (connected through camera kit or whatever its called) dont show up in the contorller list because they dont have an associated blue tooth device / object so im fixing that as well. which distracted me from the HID parsing thing i wanted to do. cuz thats really what i SHOULD be doing. parsing those descriptors and then any new controllers i dont already support would mostly "just work" if i did it right
oh and i gotta fix the ipega thing i broke in the latest v. lol i think i need to take a break.
There is no urgency 😉 and if you need me to do tests I am at your disposal ...
Do you want me to send you my "Controllersupport-Error.log" file?
Is this the tweak that enables controllers
@burnt river is this a paid or free tweak because I sadly don’t have a paypal
@quartz cove paid tweak, sorry
Dang 😦 well fingers it is
i think i MIGHT already see the issue
yep, thats gotta be it. will be fixed in next build
@ruby flame grab latest version and it SHOULD work again, let me know.
I'm sorry but it does not work.
I may not have understood something.
does ncontrol support external keyboards?
@ruby flame ok thats weird i literally just reverted to what usef to work
@sharp osprey no keyboards are not currently supported
@ruby flame you installed the latest update right?
do you know any tweak that actually supports keyboard?
@burnt river
Yes I installed the last update
I tried the Controller PG-P9156 in several emulators but it does not work on none.
What is even strange is that my controller is recognized but nothing works
@burnt river It did not work, in version 183 but NControl recognized it.
Version 184 did not recognize it and version 185 has the same problem as version 183
@ruby flame weird ok, ill have to do a debug session tomorrow
@burnt river As I said above there is no emergency and I am at your disposal to try to find a solution.
@ruby flame i know i still just want to figure it out sooner than later
ah i think i finally figured out why i wasnt getting more useful report data from joycons. guess ill find out if im right when they get here
WOOO
I'm always hopeful for that sweet dual joycon mode
@burnt river https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/blob/master/bluetooth_hid_notes.md have you seen this stuff?
@wraith ferry yes ive read through it extensively
its how i have lights and rumbling and all that stuff working with the switch pro controller
and where i looked again to see there are indeed different input modes you can change to for more precise information from the joycons
and thats one of the big things i was missing to make this into a workable experience
because the simple HID mode treats the joysticks like a dpad
so the data u get from them could never be sanely translated into the requisite data for a joystick
that was the biggest stumbling block tbh and why i never tried that hard to begin with to try and implement them as one controller. that and the lack of having both controllers and a way to charge them
i figured there had to be something like this i was missing and i finally figured out what it was
but i have to wait for my joycons and charging grip get here to actually see how that makes the data differ, because yeh he has it documented but i find some of his stuff difficult to parse or put into play. like the SPI stuff i just couldnt fully wrap my head around how to use it. and his example code doesnt 'just work' like you'd expect it to.
however i am going to try and plan on how two controllers will work as one, cuz (and im embarassed that i didnt think of this sooner) i can just do the exact same thing with two other supported controllers (join them as one) just to conceptually get it working.
so i'll have less work once they get here
hi! I'm looking to get support for Feizhi Wee 2T. Found in the past that someone tried to start something but didn't follow through.
ncontrol crashes at the end of the tests after R3
using cr4shed, noticed the error was due to
"Exception type: NSInternalInconsistencyException
Reason: Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.
Culprit: Unknown"
so yeah, seems like quite minimal leads to go about debugging, but let me know how I can help to support this! it's an awesome, cheap telescopic controller i normally use for Android
@remote shoal thats actuallq last remaining known & elusive crash. if i detach for main thread it sits forever than locks up the ui until force quit. so the crash actually seemed preferrable. your report liklely still made it through
ill take a look to check
if not the raw report is still on device
and if i dont see the report in db ( havent checked yet ) ill tell u how to send it to me manually
@remote shoal i see a few different attempts, a few of the reports came through empty, (guessing its a controller with multiple modes) one of the reports is NOT empty though so hopefully it has the data needed to make it work
@remote shoal we're going to need to do a live / manual debug session with that controller to get it added.
its report descriptors are on crack so i cant use them for anything, the report u sent MIGHT work but it advertising as a stylus and not a game controller so its kind of confusing
oh wait the report desc is actually okay but those reports came back empty, so yeh that might need some manual debugging
yeah i tried a few times. one of the modes (of two modes) shows up as 4 separate devices. before iOS13, it used to be able to emulate touch controls. which i assume is why it shows up as a stylus. this mode seemed able to output some RAW values, but i figured it was difficult to narrow which of the 4 to work with. if you log device names in the db, it should say Feizhi Wee 2T-I
the other mode, which is the one for which i attached the logs doesn’t seem to spit any RAW values in the controllerd logs
sure let me know what i can do!
@remote shoal it shows up as 4 devices in one mode? 🤣
dafuq
oh is it one of those controllers that attaches to both sides like its some kinda weird joycon?
speaking of joycons i got the standard report format mostly parsed properly for the pro controller which will pave way for easier support in joycons
and also just added support for master/puppet controller dynamic where two controllers could potentially work as one. untested thus far, but much closer to prepared for that kind of setup
and now its actually tested 🙂 made an evo and a switch pro controller think they were one controller just now to have one handle events from both. so once i can get the joystick stuff normalized properly it'll totally be possible to make it possible for it to treat two joycons as one 😄
both GCController instances are still alive so its kind of janky- but ill worry about that later. lol
@wraith ferry this places the two controllers as one idea firmly into reality territory. it doesnt do anything useful yet because i just wanted to get a POC working.
this also forced me to make the controllers more accessible to myself inside the daemon (and potentially outside as well) which is a good thing because now testing certain things out that was tedious and cumbersome before is super easy now
Aw yissss congratulations 🎉
ty, was def no small feat 😂
lol yeh this is going to be a challenge, im not even sure how to proceed yet
can handle the controller merging from the UI now 👍
thats one of the tricky parts of that implementation
yeh could auto join if both left and right are connected
but cant just assume that is desired behavior
Maybe a toggle? :D
yeh i already am working on one of those as well
in this play the switch pro and the ipega controller were playing the parts of joycon L and R
since i dont have those joycons here yet
they did finally ship tho
but a similar process could come into play for these other devices like that crazy one @remote shoal has
if we can coax useful output out of it.
wtf I can't play the video haha
I'm gonna buy a couple of joycon rails
I wanna attach them to the sides of a case I have lying around, so that I can use my phone as a switch x3
haha
@wraith ferry yeh that seems to frequently be a problem with tvOS screen records here
damn fake web “apps”
@wraith ferry tldr: when you choose the left joycon itll have an alert action “create composite joycon controller” or something (afk atm) and thatll only appear if u have a left and right paired
oh that's pretty nice, can't way to try it out :)
@burnt river Do you have time to solve my problem about Controller PG-9156?
Thank you 😊
remind me was that the ipega issue?
It is recognised by ncontrol and in the emulators but no buttons work.
It doesn't appear in the list either, but there is a bar that says it's recognized
@ruby flame but it was an ipega controller right?
Yes
its so weird because i added back the files that i took away before when it broke, @ruby flame can u get me the vid and pid of the device?
8 and 2? huh that seems weird
It may be the program that is wrong
yeh that cant be right, i dont even have any checks for that combo of vid/pid for support
use the ncontrol app
if u click on a device it should list vid/pid
@ruby flame
if it shows up as 0 / 0 exit and come back
It does not appear in the list
I only have a orange bar at the top of the screen that tells me it's connected
ohhhhh right
@ruby flame action button -> show filtered devices
see if that helps
OR share the controller log with me, theres an option in that menu as well, thats actually likely the best option
to get to bottom of what is happening
because not only will it include vid/pid itll cover behind the scenes what nControl is doing to begin with when it connects that controller
@ruby flame however u want is fine
FINALLY got standard mode parsed properly on switch pro controller with joystick calibration data. now once i get my joycons & charging shit (hopefully tomorrow) implementing the rest of this will be fairly simple
itll still keep around the other controller unfortunately, and their names dont change properly, but i dont THINK that should hurt anything.
so initial version with the dual joycon as one support might be a little rough around the edges
as far as UI/UX is concerned
but it WILL work
🙂 and thats all the matters
it only uses the factory calibration right now, ill add in the user one later. been working on this part for much longer than i wanted to or expected to lol.
@ruby flame i gave in to the mystery of that controller and bought one lol
its just way too intriguing in its chicanery
got my joycon charging dock today and that weird ipega controller, hopefully the full joycon set comes tomorrow, think charging grip is supposed to be wed. but ill be qble to implement the full controller stack b4 i get the grip. itll just be easier to properly test with it lol
but i know the left joycon is now working properly as part of a set because all of its button assignments are correct when its oriented vertically
I would like to thank @burnt river for helping me with the ipega pg-9156 controller...
If you have the same problem, here is the "home + X" procedure
wooo gg, I'm ordering some rails today so I can build a case with rails :)
idk what that means
but cool
haha
and in the next version itll list paired BLE and USB devices in the second section as applicable
once they are connected and paired tho
i still cant get LE devices to cooperate in my app yet for some odd reason.
I wanna build a phone case that has joycon rails :)
oh sweet my charging grip actually gets here today too
Ayyy noice
I literally can't wait for joycon support owo
well its a good thing i bought that charging station / dock dealy. turns out the grip that was supposedly a charging grip is just the comfort one lmao
was wondering why even a used charging grip was only $12
actually make that $6 the other $6 was for shipping, yep that makes total sense
i would've been so bummed today haha
yeah I have one of those grips as well. the black plastic one right?
its red but yeh
the plus and minus buttons arent working properly atm, the rest is good
so rather it still needs ALOT of polish lol
it worked really well at first, then got all laggy.
but it was actually working in a usable state. so thats good news.
holy shiiiiit
Laggy as in delays in Button-to-action lag?
I mean were they packet level or just processed slowly?
its a mutex issue i think
and my last set of changes was crashlooping the daemon so i decided to pass out lol
oh :o
@supple girder no you dont need it for DS4 support post 13
although the DS4 works pretty terribly lately. whether i pass through support or not. random data drops for literally no reason whatsoever
and i dont know if its apple being garbage or sony on that one (probably both)
they are both TERRIBLE at BT
@wraith ferry yeh i wouldnt expect this to work any time soon. its an absolute unmitigated disaster right now and ive been spending too much time focusing on it thinking it'd be easy once i got both joycons.
yes apple PLEASE tear down an entire daemon if u find a duplicate identifier.. and then ship it. BRILLIANT.
gamecontrollerd[26843] <Notice>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Identifier '60:6B:FF:80:BE:C0' is already registered. Possible duplicate identifier?'
i really miss when apple was good at things
hm, are you setting the same mac for both devices?
obviously not
lol
this is an issue ive run into with their shoddy code before
with other controllers
and i could never trace that particular string to any daemon or framework. it doesnt exist ANYWHERE in gamecontrollerd or one single framework that it links, nor is it in any bluetooth frameworks either so trying to prevent that exception from being thrown isnt happening either.
this isnt even the main problem with the joycons, its just one of the many problems developing in this part of the system
the joycon issue is coordinating HID events from two real devices to one virtual one and things just going haywire and crashing in unpredictable ways and leave NO useful log traces of why
what's the "usual" fix?
there isnt one for this problem
except apple being good at their jobs again, but that clearly isnt happening
ill get it workign eventually but i have to punt it for now, just become way too much of a time sink
can you patch gamecontrollerd to catch the exception?
hm
as i just said
yeah gotcha
that string doesnt exist ANYWHERE in ANYTHING gamecontrollerd links
or in gamecontrollerd itself
so tracing it is not happening
so the usual methods i use to trace functions like that is a non-starter
but even that exception being caught doesnt help joycons one single bit
have you tried asking to other tweak devs? maybe someone has an idea :o
it just makes development less painful cuz i usually gotta reboot and rejailbreak to get rid of it
I wish I couild help more but I'm just a normal dev ;-;
I assume you can't gdb/lldb gamecontrollerd, right?


