summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-06-26 13:03:25 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-06-26 13:03:25 +0000
commita53d0cb6d5eef410a07679c9f7741f0cef853ba1 (patch)
tree6aa4654f35ad10904de07528bb00ff0805a6624a /Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
parentebbfba62a0259602feecaf3a1ecb3e2992880b3c (diff)
The ControllerInterface API has the notion of an "id" which is presumably
meant as a ideally persistent device instance number. In a dynamic environment such as when dealing with USB/bluetooth HID's, I am not sure how much sense such an id can make and it would probably be better to identify devices by an opaque blob (and a printable string). In any case, the OS X HID manager does not offer the illusion of a persistent integer instance identifier. A string in the form of the device's own name is not sufficient as on e.g. my Macbook Pro, there are three HID devices all bearing the name "Apple Internal Keyboard / Trackpad". For now, hijack the ControllerInterface id to mean the the HID usage page number. This at least separates keyboards and pointing devices, allowing the keyboard to be selected in the configuration dialog. Also some minor cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5793 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp')
0 files changed, 0 insertions, 0 deletions