python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
macOS NetworkingDriverKit - How can I register multiple ethernet interfaces?
I have tried extending IOUserNetworkEthernet and calling RegisterEthernetInterface(). This works perfectly for one ethernet interface, though the driver crashes when RegisterEthernetInterface is calle...
Jake Stewart
Votes: 0
Answers: 1
Does using kIOHIDOptionsTypeSeizeDevice forcing me to handle all events?
I've been using IOHIDManager to capture keyboard strokes and was able to capture them inside Handle_InputCallback while using IOHIDManagerRegisterInputValueCallback(manager, Handle_InputCallback, NULL...
JustMe
Votes: 0
Answers: 0
Keystrokes are not blocked when using kIOHIDOptionsTypeSeizeDevice and are still passed to the OS
My goal is to block keystrokes from reaching the OS using IOHID (Can't use CGEvent for other reasons). According to the docs of kIOHIDOptionsTypeSeizeDevice:
Used to open exclusive communication with...
JustMe
Votes: 0
Answers: 1
Detect Mac device color (Swift)
I am wondering if it is possible to detect the color of the Mac my app is running on?
extension NSScreen {
var cgDirectDisplayId: CGDirectDisplayID? {
let description = self.deviceDescrip...

ixany
Votes: 0
Answers: 0