ANNE pro GH60 customize the keyboard keys set macOS

Before I wrotePoker 2 Mechanical keyboard Mac key to modifyArticles,Because now I bought a lift tables,Then poker wired,So very convenient,Just wondering to buy a Bluetooth keyboard,I did not expect that year dream of mechanical Bluetooth keyboard has been ready,Just,He wondered if he ordered a。

I have a soft spot for wasd key direction of poker,F is changed especially capslock[……]

Click link to continue reading...

macOS keyboard event intercepted three ways

Under normal circumstances,You do not need to know the contents。

In rare cases,Your app might need to get the user presses the button information,such asThe ones released Develop a Input Method。Only then can you provide candidates to the user。

How to create an input method under macOS,I'm hereSwift uses InputMethodKit to write an input methodThis article has detailed instructions,Here skip[……]

Click link to continue reading...

Black Apple nuclear was compatible 21:9 monitor

Some time ago I said ISave for a black high with apples,It was using an ordinary 1080p display,mine 21:9 To colleagues spent。

Now,I can not stand this 16:9,So he and I changed next,I go back to my 21:9,The results did not expect ...... Nima does not even support!

I heard hd530 drive nuclear significant not OK not result in recognition ......

In short,We also[……]

Click link to continue reading...

Analyzing a multi-monitor window position macOS

When developing pocketed input method,I met such a thing,That is, as a candidate bar window will go beyond the screen when the edge of the screen! and so,In the display window when I do extra check the coordinates:

In short,That is, if you count the coordinates of their width exceeds the width of the screen,Norway put it back。

but,Such[……]

Click link to continue reading...

How to make NSWindow displayed in a different Space or the Screen

Among write off the grid input method the Mac version of the process,I encountered such a problem,Article candidate system API disrepair,Many API functions exists but is essentially useless,such as:

This method is used to set the style of a candidate bar,In addition to the default inside[crayon-5a12a033a77f41098[……]

Click link to continue reading...

Save a black apple hackintosh used for development of

IPhone and other platforms to develop applications,Always need to use an Apple computer,Or iMac or rmbp,Even the mac mini is also OK。but,When a relatively large development projects,We need something more,Such as me,While doing a littleInput,But what algorithm run run thesaurus,A trip down must one day,It might also collapse again。Whenever Xcode not live up to expectations at every turn whiteboard[……]

Click link to continue reading...