开发者

How can an app tell if it's running on a hackintosh?

I'd actually just like to know the number of mouse buttons a laptop has (Apple: 1, Hackintosh: 2), but I'm guessing the answer to this would be interchangeable with the answer to the more general question above.

Edited to clarify about counting built-in mouse buttons: I'm aware you can use an external two-button mouse or control-click, but I'm specifically interested in the numb开发者_如何转开发er of built-in hardware buttons: The app uses the laptop's onboard button(s) for paging up/down on a window that can change its rotation (which changes the scroll direction of the left/right buttons), and it's a better user experience if the app knows whether there are actually two side-by-side buttons or just a single control surface.


I suppose you could compare the files that Hackintosh patches with a vanilla installation of Mac OS X. I'm not very knowledgeable about OSX86 though, so I'm not sure exactly how to go about that.

Besides, say for example, you know that the computer is running hackintosh, then what? You'll have to find out that mouse the computer uses, what keyboard, key layout, hardware buttons etc. For example, a Dell running Hackintosh will not be the same as a Acer runing Hackintosh.

Why not just skip the middle man and look for the features that you are interested in?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜