~ubuntu-branches/debian/experimental/mednafen/experimental

« back to all changes in this revision

Viewing changes to src/pce/input.cpp

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2012-11-19 07:00:37 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20121119070037-jvknrm13zvim88oc
Tags: 0.9.26-1
* New upstream WIP version.
* Change priority to "extra" to match libvorbisidec1's.
* Drop "DM-Upload-Allowed" since it is no longer appropriate.
* Refresh patches, replacing MPC_STATUS_FAIL constant from older mpcdec
  versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
  "none",
309
309
  "none",
310
310
  NULL,
 
311
  NULL,
311
312
  0,
312
313
  NULL
313
314
 },
317
318
  "gamepad",
318
319
  "Gamepad",
319
320
  NULL,
 
321
  NULL,
320
322
  sizeof(PCE_GamepadIDII) / sizeof(InputDeviceInputInfoStruct),
321
323
  PCE_GamepadIDII,
322
324
 },
326
328
  "mouse",
327
329
  "Mouse",
328
330
  NULL,
 
331
  NULL,
329
332
  sizeof(PCE_MouseIDII) / sizeof(InputDeviceInputInfoStruct),
330
333
  PCE_MouseIDII,
331
334
 },
338
341
  "none",
339
342
  "none",
340
343
  NULL,
 
344
  NULL,
341
345
  0,
342
346
  NULL
343
347
 },
347
351
  "gamepad",
348
352
  "Gamepad",
349
353
  NULL,
 
354
  NULL,
350
355
  sizeof(PCE_GamepadIDII) / sizeof(InputDeviceInputInfoStruct),
351
356
  PCE_GamepadIDII,
352
357
 },
356
361
  "mouse",
357
362
  "Mouse",
358
363
  NULL,
 
364
  NULL,
359
365
  sizeof(PCE_MouseIDII) / sizeof(InputDeviceInputInfoStruct),
360
366
  PCE_MouseIDII,
361
367
 },
365
371
  "tsushinkb",
366
372
  "Tsushin Keyboard",
367
373
  NULL,
 
374
  NULL,
368
375
  sizeof(PCE_TsushinKBIDII) / sizeof(InputDeviceInputInfoStruct),
369
376
  PCE_TsushinKBIDII,
370
377
 },
371
 
  
372
378
};
373
379
 
374
380
static const InputPortInfoStruct PortInfo[] =
375
381
{
376
 
 { 0, "port1", "Port 1", sizeof(InputDeviceInfoPort1) / sizeof(InputDeviceInfoStruct), InputDeviceInfoPort1, "gamepad" },
377
 
 { 0, "port2", "Port 2", sizeof(InputDeviceInfo) / sizeof(InputDeviceInfoStruct), InputDeviceInfo, "gamepad" },
378
 
 { 0, "port3", "Port 3", sizeof(InputDeviceInfo) / sizeof(InputDeviceInfoStruct), InputDeviceInfo, "gamepad" },
379
 
 { 0, "port4", "Port 4", sizeof(InputDeviceInfo) / sizeof(InputDeviceInfoStruct), InputDeviceInfo, "gamepad" },
380
 
 { 0, "port5", "Port 5", sizeof(InputDeviceInfo) / sizeof(InputDeviceInfoStruct), InputDeviceInfo, "gamepad" },
 
382
 { "port1", "Port 1", sizeof(InputDeviceInfoPort1) / sizeof(InputDeviceInfoStruct), InputDeviceInfoPort1, "gamepad" },
 
383
 { "port2", "Port 2", sizeof(InputDeviceInfo) / sizeof(InputDeviceInfoStruct), InputDeviceInfo, "gamepad" },
 
384
 { "port3", "Port 3", sizeof(InputDeviceInfo) / sizeof(InputDeviceInfoStruct), InputDeviceInfo, "gamepad" },
 
385
 { "port4", "Port 4", sizeof(InputDeviceInfo) / sizeof(InputDeviceInfoStruct), InputDeviceInfo, "gamepad" },
 
386
 { "port5", "Port 5", sizeof(InputDeviceInfo) / sizeof(InputDeviceInfoStruct), InputDeviceInfo, "gamepad" },
381
387
};
382
388
 
383
389
InputInfoStruct PCEInputInfo =