mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Support for multiple wiimotes on OS X.
Fixes issue 3703. Note that HLE wiimote activation is currently a little broken, so to use multiple wiimotes you need to open the wiimote configuration window, refresh (connect to) the real wiimotes, start the emulation and then select Connect Wiimote 2/3/4 from the Tools menu or with hotkeys. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6648 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -155,6 +155,15 @@ typedef struct wiimote_t {
|
||||
WCONST IOBluetoothDevice *btd;
|
||||
WCONST IOBluetoothL2CAPChannel *ichan;
|
||||
WCONST IOBluetoothL2CAPChannel *cchan;
|
||||
#define QUEUE_SIZE 64
|
||||
WCONST struct buffer {
|
||||
char data[MAX_PAYLOAD];
|
||||
int len;
|
||||
} queue[QUEUE_SIZE];
|
||||
WCONST int reader;
|
||||
WCONST int writer;
|
||||
WCONST int outstanding;
|
||||
WCONST int watermark;
|
||||
#elif defined(__linux__) && HAVE_BLUEZ
|
||||
WCONST bdaddr_t bdaddr; /**< bt address (linux) */
|
||||
WCONST char bdaddr_str[18]; /**< readable bt address */
|
||||
|
Reference in New Issue
Block a user