Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
551433e7
Kaydet (Commit)
551433e7
authored
Kas 10, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: Ie5a52b097ff2992de5cc82ba0d303618b44e3213
üst
63748533
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
HIDRemoteControlDevice.m
apple_remote/source/HIDRemoteControlDevice.m
+1
-1
No files found.
apple_remote/source/HIDRemoteControlDevice.m
Dosyayı görüntüle @
551433e7
...
@@ -437,7 +437,7 @@ static void QueueCallbackFunction(void* target, IOReturn result, void* refcon,
...
@@ -437,7 +437,7 @@ static void QueueCallbackFunction(void* target, IOReturn result, void* refcon,
//Get cookie
//Get cookie
object
=
[
element
valueForKey
:
(
NSString
*
)
CFSTR
(
kIOHIDElementCookieKey
)
];
object
=
[
element
valueForKey
:
(
NSString
*
)
CFSTR
(
kIOHIDElementCookieKey
)
];
if
(
object
==
nil
||
!
[
object
isKindOfClass
:[
NSNumber
class
]])
continue
;
if
(
object
==
nil
||
!
[
object
isKindOfClass
:[
NSNumber
class
]])
continue
;
if
(
object
==
0
||
CFGetTypeID
(
object
)
!=
CFNumberGetTypeID
())
continue
;
if
(
object
==
NULL
||
CFGetTypeID
(
object
)
!=
CFNumberGetTypeID
())
continue
;
cookie
=
(
IOHIDElementCookie
)
[
object
longValue
];
cookie
=
(
IOHIDElementCookie
)
[
object
longValue
];
//Get usage
//Get usage
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment