view old/simple_pack/pad.h @ 2069:26aa08c9a1de draft default tip

cuda example fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 12 Feb 2017 10:04:55 +0900
parents 3bc98f6d31ff
children
line wrap: on
line source

const int CROSS = 0;
const int CIRCLE = 1;
const int SQUARE = 2;
const int TRIANGLE = 3;
const int L1 = 4;
const int R1 = 5;
const int L2 = 6;
const int R2 = 7;
const int START = 8;
const int SELECT = 9;
const int L3 = 10;
const int R3 = 11;
const int UP = 12;
const int DOWN = 13;
const int RIGHT = 14;
const int LEFT = 15;

int pad(int button);