OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
Lamp Struct Reference

A lamp: the button it shows, its place on a pad's drawing, its tile. More...

Public Attributes

u16 mask
u8 tile
u8 x
u8 y

Detailed Description

A lamp: the button it shows, its place on a pad's drawing, its tile.

Member Data Documentation

◆ mask

u16 Lamp::mask

the KEY_ bit

◆ tile

u8 Lamp::tile

0 disc, 1 square, 2 pill, 3 half a shoulder

◆ x

u8 Lamp::x

◆ y

u8 Lamp::y

from the pad's top-left (PAD_ORIGINS and PAD_LAMPS in build.py)


The documentation for this struct was generated from the following file:
  • examples/input/controller/main.c