~random-stuff/random-stuff/yabause

« back to all changes in this revision

Viewing changes to yabause/src/peripheral.h

  • Committer: GitHub
  • Author(s): d356
  • Date: 2016-08-22 14:43:26 UTC
  • mfrom: (2682.2.1)
  • Revision ID: git-v1:fd8faa671be24e6cac832285a18dc0b71555a1f5
Merge pull request #331 from d356/virtual-on-rb

peripheral/qt: add support for virtual on twin sticks

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 */
36
36
 
37
37
#define PERPAD                          0x02
 
38
//virtual on twin sticks is a standard controller from
 
39
//the saturn's point of view
 
40
//we just insert a standard pad and map it differently
 
41
//this id is just for keeping track of it in the GUI
 
42
#define PERVIRTUALON   0x102
38
43
#define PERWHEEL                        0x13
39
44
#define PERMISSIONSTICK 0x15
40
45
#define PER3DPAD                        0x16
41
 
#define PERTWINSTICKS   0x19//double mission sticks use same id
 
46
#define PERTWINSTICKS   0x19//double mission sticks
42
47
#define PERGUN                          0x25
43
48
#define PERKEYBOARD             0x34
44
49
#define PERMOUSE                        0xE3