Home
last modified time | relevance | path

Searched refs:usagePage (Results 1 – 25 of 137) sorted by relevance

123456

/dports/emulators/sameboy/SameBoy-0.14.7/JoyKit/
H A DControllerConfiguration.inc177 … @{@"reportID": @(1), @"size":@1, @"offset":@8, @"usagePage":@(kHIDPage_Button), @"usage":@1},
178 … @{@"reportID": @(1), @"size":@1, @"offset":@9, @"usagePage":@(kHIDPage_Button), @"usage":@2},
179 … @{@"reportID": @(1), @"size":@1, @"offset":@10,@"usagePage":@(kHIDPage_Button), @"usage":@3},
180 … @{@"reportID": @(1), @"size":@1, @"offset":@11,@"usagePage":@(kHIDPage_Button), @"usage":@4},
188 … @{@"reportID": @(1), @"size":@1, @"offset":@16, @"usagePage":@(kHIDPage_Button), @"usage":@5},
189 … @{@"reportID": @(1), @"size":@1, @"offset":@17, @"usagePage":@(kHIDPage_Button), @"usage":@6},
190 … @{@"reportID": @(1), @"size":@1, @"offset":@18, @"usagePage":@(kHIDPage_Button), @"usage":@7},
191 … @{@"reportID": @(1), @"size":@1, @"offset":@19, @"usagePage":@(kHIDPage_Button), @"usage":@8},
411 … @{@"reportID": @(1), @"size":@1, @"offset":@16, @"usagePage":@(kHIDPage_Button), @"usage":@3},
412 … @{@"reportID": @(1), @"size":@1, @"offset":@17, @"usagePage":@(kHIDPage_Button), @"usage":@4},
[all …]
H A DJOYSubElement.h7 usagePage:(uint16_t)usagePage
H A DJOYButton.m69 if (element.usagePage == kHIDPage_Button) {
73 else if (element.usagePage == kHIDPage_GenericDesktop) {
84 else if (element.usagePage == kHIDPage_Consumer) {
H A DJOYSubElement.m25 usagePage:(uint16_t)usagePage
35 _usagePage = usagePage;
/dports/astro/phd2/phd2-2.6.10/thirdparty/HID_Utilities/
H A DHID_Config_Utilities.c389 if ( !usagePage || !usage ) { in HIDSaveElementPref()
394 require(usagePage && usage, Oops); in HIDSaveElementPref()
534 if ( !usagePage || !usage ) { in HIDFindDeviceAndElement()
538 if ( usagePage ) { in HIDFindDeviceAndElement()
539 if ( inSearchInfo->device.usagePage == usagePage ) { in HIDFindDeviceAndElement()
576 if ( inSearchInfo->element.usagePage == usagePage ) { in HIDFindDeviceAndElement()
710 inHIDInfoPtr->device.usagePage = 0; in HIDSetElementConfig()
730 inHIDInfoPtr->usagePage,
731 inHIDInfoPtr->element.usagePage,
810 … if ( (inHIDInfoPtr->element.usage == usage) && (inHIDInfoPtr->element.usagePage == usagePage) ) { in HIDGetElementConfig()
[all …]
H A DHID_Utilities.c649 uint32_t usagePage = IOHIDDevice_GetUsagePage(inIOHIDDeviceRef); in HIDDumpDeviceInfo() local
651 if ( !usagePage || !usage ) { in HIDDumpDeviceInfo()
652 usagePage = IOHIDDevice_GetPrimaryUsagePage(inIOHIDDeviceRef); in HIDDumpDeviceInfo()
656 printf("usage: 0x%04lX:0x%04lX, ", (long unsigned int) usagePage, (long unsigned int) usage); in HIDDumpDeviceInfo()
659 tCFStringRef = HIDCopyUsageName(usagePage, usage); in HIDDumpDeviceInfo()
871 uint32_t usagePage = IOHIDElementGetUsagePage(inIOHIDElementRef); in HIDDumpElementInfo() local
873 printf("usage: 0x%04lX:0x%04lX, ", (long unsigned int) usagePage, (long unsigned int) usage); in HIDDumpElementInfo()
875 CFStringRef tCFStringRef = HIDCopyUsageName(usagePage, usage); in HIDDumpElementInfo()
H A DHID_Utilities_External.h119 extern Boolean HIDBuildDeviceList(UInt32 usagePage, UInt32 usage);
258 uint32_t usagePage, usage; member
262 uint32_t usagePage, usage; member
/dports/audio/supercollider/SuperCollider-3.11.0-Source/SCClassLibrary/Common/Control/
H A DHID_API.sc354 usagePage { |collectionID=0|
355 ^collections.at( collectionID ).usagePage;
454 var <usagePage, <usage;
464 usagePage = page;
513 var <usagePage, <usage;
553 // [ type, usagePage, usage ].printItemsOn(stream);
569 var <usagePage, <usage;
645 .postf( prefix, id, ioType, type, usagePage, usage,
752 *getUsageDescription { |usagePage, usage|
756 switch( usagePage,
[all …]
H A DHIDMatchers.sc12 var <>usagePage, <>usage;
101 var <usagePage, <usage;
143 usagePage = argup;
144 shouldMatch.add( \usagePage );
196 this.usagePage = pID;
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/gamepad/cocoa/
H A DCocoaGamepad.cpp45 uint32_t usagePage; member
137 return a1.usagePage == a2.usagePage && a1.usage == a2.usage; in Equals()
141 if (a1.usagePage == a2.usagePage) { in LessThan()
144 return a1.usagePage < a2.usagePage; in LessThan()
160 uint32_t usagePage = IOHIDElementGetUsagePage(element); in init() local
163 if (usagePage == kDesktopUsagePage && in init()
169 usagePage, in init()
174 } else if (usagePage == kDesktopUsagePage && usage == kDpadUsage && in init()
178 } else if ((usagePage == kSimUsagePage && in init()
181 (usagePage == kButtonUsagePage) || in init()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/gamepad/cocoa/
H A DCocoaGamepad.cpp49 uint32_t usagePage; member
131 return a1.usagePage == a2.usagePage && a1.usage == a2.usage; in Equals()
134 if (a1.usagePage == a2.usagePage) { in LessThan()
137 return a1.usagePage < a2.usagePage; in LessThan()
151 uint32_t usagePage = IOHIDElementGetUsagePage(element); in init() local
154 if (usagePage == kDesktopUsagePage && usage >= kAxisUsageMin && in init()
158 usagePage, in init()
163 } else if (usagePage == kDesktopUsagePage && usage == kDpadUsage && in init()
169 } else if ((usagePage == kSimUsagePage && in init()
171 (usagePage == kButtonUsagePage) || in init()
[all …]
/dports/emulators/fs-uae/fs-uae-3.1.35/manymouse/
H A Dmacosx_hidutilities.c303 HIDGetUsageName (pElement->usagePage, pElement->usage, pElement->name); in hid_GetElementInfo()
317 long elementType, usagePage, usage; in hid_AddElement() local
325 CFNumberGetValue (refUsagePage, kCFNumberLongType, &usagePage); in hid_AddElement()
337 if (usagePage && usage) // if valid usage and page in hid_AddElement()
407 pElement->usagePage = usagePage; in hid_AddElement()
1103 pNewDevice->usagePage, in hid_AddDevices()
1125 pNewDevice->usagePage, in hid_AddDevices()
1156 static Boolean HIDBuildDeviceList (UInt32 usagePage, UInt32 usage) in HIDBuildDeviceList() argument
1179 if (usagePage) in HIDBuildDeviceList()
1517 if (recelem->usagePage == kHIDPage_GenericDesktop) in poll_mouse()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/ui_qt/macos/
H A DInputProviderMacOsHid.cpp69 CFMutableDictionaryRef CInputProviderMacOsHid::CreateDeviceMatchingDictionary(uint32 usagePage, uin… in CreateDeviceMatchingDictionary() argument
73 if(usagePage != 0) in CreateDeviceMatchingDictionary()
76 CFNumberRef pageCFNumberRef = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &usagePage); in CreateDeviceMatchingDictionary()
145 uint32 usagePage = IOHIDElementGetUsagePage(elementRef); in InputValueCallback() local
147 (usagePage != kHIDPage_GenericDesktop) && in InputValueCallback()
148 (usagePage != kHIDPage_Button)) in InputValueCallback()
311 uint32 usagePage = IOHIDElementGetUsagePage(elementRef); in SetInitialBindValues() local
313 (usagePage != kHIDPage_GenericDesktop) && in SetInitialBindValues()
314 (usagePage != kHIDPage_Button)) in SetInitialBindValues()
/dports/www/firefox-esr/firefox-91.8.0/dom/gamepad/cocoa/
H A DCocoaGamepad.cpp56 uint32_t usagePage; member
136 uint32_t usagePage = IOHIDElementGetUsagePage(element); in init() local
139 if (usagePage == kDesktopUsagePage && usage >= kAxisUsageMin && in init()
144 usagePage, in init()
149 } else if (usagePage == kDesktopUsagePage && usage == kDpadUsage && in init()
157 usagePage, in init()
162 } else if ((usagePage == kSimUsagePage && in init()
164 (usagePage == kButtonUsagePage) || in init()
165 (usagePage == kConsumerPage && in init()
/dports/www/firefox/firefox-99.0/dom/gamepad/cocoa/
H A DCocoaGamepad.cpp56 uint32_t usagePage; member
136 uint32_t usagePage = IOHIDElementGetUsagePage(element); in init() local
139 if (usagePage == kDesktopUsagePage && usage >= kAxisUsageMin && in init()
144 usagePage, in init()
149 } else if (usagePage == kDesktopUsagePage && usage == kDpadUsage && in init()
157 usagePage, in init()
162 } else if ((usagePage == kSimUsagePage && in init()
164 (usagePage == kButtonUsagePage) || in init()
165 (usagePage == kConsumerPage && in init()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/gamepad/cocoa/
H A DCocoaGamepad.cpp56 uint32_t usagePage; member
136 uint32_t usagePage = IOHIDElementGetUsagePage(element); in init() local
139 if (usagePage == kDesktopUsagePage && usage >= kAxisUsageMin && in init()
144 usagePage, in init()
149 } else if (usagePage == kDesktopUsagePage && usage == kDpadUsage && in init()
157 usagePage, in init()
162 } else if ((usagePage == kSimUsagePage && in init()
164 (usagePage == kButtonUsagePage) || in init()
165 (usagePage == kConsumerPage && in init()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/gamepad/cocoa/
H A DCocoaGamepad.cpp51 uint32_t usagePage; member
132 uint32_t usagePage = IOHIDElementGetUsagePage(element); in init() local
135 if (usagePage == kDesktopUsagePage && usage >= kAxisUsageMin && in init()
140 usagePage, in init()
145 } else if (usagePage == kDesktopUsagePage && usage == kDpadUsage && in init()
153 usagePage, in init()
158 } else if ((usagePage == kSimUsagePage && in init()
160 (usagePage == kButtonUsagePage) || in init()
161 (usagePage == kConsumerPage && in init()
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/joystick/darwin/
H A DSDL_sysjoystick_c.h32 uint32_t usagePage, usage; /* HID usage */ member
51 …uint32_t usagePage; /* usage within above page from IOUSBHID Parser.h which defines sp… member
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/joystick/darwin/
H A DSDL_sysjoystick_c.h32 uint32_t usagePage, usage; /* HID usage */ member
51 …uint32_t usagePage; /* usage within above page from IOUSBHID Parser.h which defines sp… member
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/joystick/darwin/
H A DSDL_sysjoystick_c.h32 uint32_t usagePage, usage; /* HID usage */ member
51 …uint32_t usagePage; /* usage within above page from IOUSBHID Parser.h which defines sp… member
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/joystick/darwin/
H A DSDL_sysjoystick_c.h32 uint32_t usagePage, usage; /* HID usage */ member
51 …uint32_t usagePage; /* usage within above page from IOUSBHID Parser.h which defines sp… member
/dports/devel/sdl20/SDL2-2.0.18/src/joystick/darwin/
H A DSDL_iokitjoystick_c.h34 uint32_t usagePage, usage; /* HID usage */ member
57 …uint32_t usagePage; /* usage within above page from IOUSBHID Parser.h which defines sp… member
/dports/x11/controllermap/SDL2-2.0.18/src/joystick/darwin/
H A DSDL_iokitjoystick_c.h34 uint32_t usagePage, usage; /* HID usage */ member
57 …uint32_t usagePage; /* usage within above page from IOUSBHID Parser.h which defines sp… member
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/dep/macos/hid/
H A DAKGamepad.m133 NSInteger usagePage = IOHIDElementGetUsagePage(element);
137 if (usagePage == kHIDPage_GenericDesktop) {
183 } else if (usagePage == kHIDPage_Button) {
206 NSInteger usagePage = IOHIDElementGetUsagePage(element);
207 if (usagePage == kHIDPage_GenericDesktop) {
/dports/multimedia/kodi-addon-peripheral.joystick/peripheral.joystick-1.7.1-Matrix/src/api/cocoa/
H A DJoystickCocoa.cpp57 uint32_t usagePage = IOHIDElementGetUsagePage(element); in Initialize() local
60 if (usagePage == GENERIC_DESKTOP_USAGE_PAGE && in Initialize()
70 else if (usagePage == BUTTON_USAGE_PAGE) in Initialize()

123456