Homebrew [Q] How to use the infrared functions?

  • Thread starter Thread starter VegaRoXas
  • Start date Start date
  • Views Views 3,990
  • Replies Replies 5

VegaRoXas

Well-Known Member
Member
Joined
Mar 29, 2015
Messages
290
Reaction score
159
Trophies
0
XP
408
Country
Gambia, The
I want to use the infrared functions from ctrulib. But I can't find any examples / documentation about them. Can someone give me an example pls? :3
 
Which IR LED (the one near the new 3ds's cam or the one at the back for the circle pad pro etc) do you want to use and what do you want to do?
I have a 2ds. I want to use the one above the game card slot. I just want to control my tv with it :D I wanted to read what my remote says, and then send it back to my tv :3
rear.jpg
 
  • Like
Reactions: HaloEffect17
https://github.com/smealum/ctrulib/blob/master/libctru/source/services/ir.c, https://github.com/smealum/ctrulib/blob/master/libctru/source/services/irrst.c and http://3dbrew.org/wiki/IR_Services is probably everything you can get about the LEDs.
But you have to remember that the IR chip only supports a properitary protocoll which won't be compatible with a TV remote or everything else you might want to use it with.
Well thanks, but now I don't see the use for me in the chip xD
 

Site & Scene News

Popular threads in this forum