Homebrew Question Is there a homebrew capable of displaying HID memory values?

epicboy

Well-Known Member
OP
Member
Joined
Jun 23, 2011
Messages
147
Trophies
0
XP
381
Country
United States
https://switchbrew.org/wiki/HID_Shared_Memory#Npad

I'm looking into exploring the way the Switch handles input of various USB devices. Is there any homebrew that can actually read and display the values shown in the linked site?

I'm quite new and so i'm not sure how these values were ever derived. If a homebrew doesn't exist, would it even be possible to build something that can handle outputting these values?
 

scandal_uk

Not Really There
Member
Joined
Oct 3, 2005
Messages
322
Trophies
0
Location
UK
XP
580
Country
United Kingdom
https://switchbrew.org/wiki/HID_Shared_Memory#Npad

I'm looking into exploring the way the Switch handles input of various USB devices. Is there any homebrew that can actually read and display the values shown in the linked site?

I'm quite new and so i'm not sure how these values were ever derived. If a homebrew doesn't exist, would it even be possible to build something that can handle outputting these values?
It would be trivial to write a program to read and display these values - install DevKitPro and try it out!
 

epicboy

Well-Known Member
OP
Member
Joined
Jun 23, 2011
Messages
147
Trophies
0
XP
381
Country
United States
It would be trivial to write a program to read and display these values - install DevKitPro and try it out!
Yeah I saw something in the examples that did something similar. I'm gonna work on fleshing it out to print the entire shared memory struct.

Thanks for the input!
 

scandal_uk

Not Really There
Member
Joined
Oct 3, 2005
Messages
322
Trophies
0
Location
UK
XP
580
Country
United Kingdom
Yeah I saw something in the examples that did something similar. I'm gonna work on fleshing it out to print the entire shared memory struct.

Thanks for the input!
If you run into problems, post back here there are plenty of helpful experts!
 

epicboy

Well-Known Member
OP
Member
Joined
Jun 23, 2011
Messages
147
Trophies
0
XP
381
Country
United States
If you run into problems, post back here there are plenty of helpful experts!
I wish i saw this before i ripped out half my hair.

Gamecube adapter input, and the shared memory data structure. How does GC fit into that? I was looking into libnx docs as well and i'm more lost than when i began.

To be more precise. How is it that a game like smash can detect that im using a gamecube controllee and then show me its respective UI icons?
 
Last edited by epicboy,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
    +1
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
  • Psionic Roshambo @ Psionic Roshambo:
    Why so serious!
  • Psionic Roshambo @ Psionic Roshambo:
    @BakerMan, yeah that's about the only reason I would vote for Trump over Biden.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    In my opinion on all other factors they are pretty much the same.
    +1
  • Veho @ Veho:
    Economy was better under Trump, according to Fox News.
    +1
  • Veho @ Veho:
    I don't give a fuck about what happens to America but I would like it if your shit didn't spill out on the rest of the world, thank you.
    +3
  • AncientBoi @ AncientBoi:
    A Far Right news service company
  • AncientBoi @ AncientBoi:
    I give a fuck about what happens to America but I would like it if our shit didn't spill out on the rest of the world, thank you.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    @Veho, didn't need any news. Just going to the store and buying groceries is a constant reminder.
  • Veho @ Veho:
    A reminder that all corporations reported record profits these last few years?
  • Veho @ Veho:
    Reminded that every single price gouging law was blocked by republicans because "muh gubmint overreach"?
    Veho @ Veho: Reminded that every single price gouging law was blocked by republicans because "muh gubmint...