Homebrew List of button activators?

DarkFlare69

Well-Known Member
OP
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,715
Country
United States
So for homebrew applications, can someone post a list of all the activators? Like select, start, a, b, x, y, r, l, touch screen? I think they go something like
Code:
u32 (kDown)
Something like that. Please help, I want to put activators on certain parts of code.
 

Slushie3DS

Cold Beverage Lover
Member
Joined
Jan 9, 2015
Messages
707
Trophies
0
Age
28
XP
410
Country
United States
Following for info.

I'm thinking about porting Space Invaders, and I could only find documentation of about six inside of the template sauce. It points to a header named 3ds, which I would assume has the others, but doesn't seem to be included with the template. Strange, I know.

20zw8b8.png
 

Rinnegatamante

Well-Known Member
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
28
Location
Bologna
Website
rinnegatamante.it
XP
4,747
Country
Italy
With "activators" you mean key definitions?

Code:
typedef enum
{
KEY_A = BIT(0),
KEY_B = BIT(1),
KEY_SELECT = BIT(2),
KEY_START = BIT(3),
KEY_DRIGHT = BIT(4),
KEY_DLEFT = BIT(5),
KEY_DUP = BIT(6),
KEY_DDOWN = BIT(7),
KEY_R = BIT(8),
KEY_L = BIT(9),
KEY_X = BIT(10),
KEY_Y = BIT(11),
KEY_ZL = BIT(14), // (new 3DS only)
KEY_ZR = BIT(15), // (new 3DS only)
KEY_TOUCH = BIT(20), // Not actually provided by HID
KEY_CSTICK_RIGHT = BIT(24), // c-stick (new 3DS only)
KEY_CSTICK_LEFT = BIT(25), // c-stick (new 3DS only)
KEY_CSTICK_UP = BIT(26), // c-stick (new 3DS only)
KEY_CSTICK_DOWN = BIT(27), // c-stick (new 3DS only)
KEY_CPAD_RIGHT = BIT(28), // circle pad
KEY_CPAD_LEFT = BIT(29), // circle pad
KEY_CPAD_UP = BIT(30), // circle pad
KEY_CPAD_DOWN = BIT(31), // circle pad
// Generic catch-all directions
KEY_UP = KEY_DUP | KEY_CPAD_UP,
KEY_DOWN = KEY_DDOWN | KEY_CPAD_DOWN,
KEY_LEFT = KEY_DLEFT | KEY_CPAD_LEFT,
KEY_RIGHT = KEY_DRIGHT | KEY_CPAD_RIGHT,
} PAD_KEY;
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    And those backlights can get burn-in themselves.
  • ZeroT21 @ ZeroT21:
    i fixed my previous tv twice already, 1st time was power supply defect and 2nd was dead backlight, just ordered some parts after butchering it open
  • ZeroT21 @ ZeroT21:
    so easy compared to the time i had to work on my sony trinitron, gud times :rofl2:
  • K3N1 @ K3N1:
    It's just weird that the only way it'll display a picture is through my Nvidia shield menu won't come on at all
  • ZeroT21 @ ZeroT21:
    if your tv lasted you 5 yrs, i'd say it has served it's purpose
  • K3N1 @ K3N1:
    2017 model hopefully it lasts tell summer
  • ZeroT21 @ ZeroT21:
    time to retire it, get a new fling
  • ZeroT21 @ ZeroT21:
    or like my friends, buy 1 every time there is a world cup:whip:
  • K3N1 @ K3N1:
    Web os hasn't been bad really
  • ZeroT21 @ ZeroT21:
    I never bothered with those ''smart functions'', used a beelink mini pc instead
  • K3N1 @ K3N1:
    Doesn't really bother me two shield devices all I need
  • TheZander @ TheZander:
    my ps4 is only getting network errors whenever i try to use the browser
  • ZeroT21 @ ZeroT21:
    @TheZander clear your browser cache and cookies, then restart your browser
  • Psionic Roshambo @ Psionic Roshambo:
    So if a guy with Parkinson's gives himself a stranger is that a benefit?
  • Xdqwerty65 @ Xdqwerty65:
    can i upload midi files to the "downloads" section?
  • K3N1 @ K3N1:
    In my experience it's been a benefit
  • K3N1 @ K3N1:
    It can save you time
  • Xdqwerty65 @ Xdqwerty65:
    i think my anxiety pills arent working
    +1
  • K3N1 @ K3N1:
    I dropped one of my pills earlier and my cat almost ate it
  • Psionic Roshambo @ Psionic Roshambo:
    Viagra would have been very hard on your cat... lol
  • K3N1 @ K3N1:
    I don't think it does much for female cats uremum might know
    +1
    Psionic Roshambo @ Psionic Roshambo: lol