Author Topic: Keyboard Mac OS X for [programmining]?  (Read 2756 times)

0 Members and 1 Guest are viewing this topic.

Offline oli0060

  • Thread Starter
  • Posts: 2
Keyboard Mac OS X for [programmining]?
« on: Wed, 05 November 2014, 14:48:19 »
Hey guys!
I'm from Germany and thats the only forum i found for this question :$ (so my english isn't the best^^)

I got an iMac 2 weeks ago. Because I programm in XCode (and Java) I'm going to buy a MECHANIC Keyboard.

so many Windows Keyboards out there, but not much for OS X. :(
I need a mechanic OS X Keyboard for programming..
First question:
I read yesterday that there is a software called Karabiner, which you can use to change the KeyLetters (KeyCodes).
Because I want to change these brackets {} with them: ()
Does it work? Please answer, thanks :)

Second question:
Which Keyboard is really good to use for Mac and is an OS X Keyboard? :)

Thank you very much! (:

Offline rowdy

  • HHKB Hapster
  • * Erudite Elder
  • Posts: 21175
  • Location: melbourne.vic.au
  • Missed another sale.
Re: Keyboard Mac OS X for [programmining]?
« Reply #1 on: Wed, 05 November 2014, 15:30:50 »
Most modern mechanical keyboards work well on a Mac.

I have used HHKB, QFR, Ducky, Model M and even an old NEC APC H4100E.

Winkeyless means you don't have Option keys though.

And I usually use System Preferences to swap Win and Alt (to where they should be on the Mac).
"Because keyboards are accessories to PC makers, they focus on minimizing the manufacturing costs. But that’s incorrect. It’s in HHKB’s slogan, but when America’s cowboys were in the middle of a trip and their horse died, they would leave the horse there. But even if they were in the middle of a desert, they would take their saddle with them. The horse was a consumable good, but the saddle was an interface that their bodies had gotten used to. In the same vein, PCs are consumable goods, while keyboards are important interfaces." - Eiiti Wada

NEC APC-H4100E | Ducky DK9008 Shine MX blue LED red | Ducky DK9008 Shine MX blue LED green | Link 900243-08 | CM QFR MX black | KeyCool 87 white MX reds | HHKB 2 Pro | Model M 02-Mar-1993 | Model M 29-Nov-1995 | CM Trigger (broken) | CM QFS MX green | Ducky DK9087 Shine 3 TKL Yellow Edition MX black | Lexmark SSK 21-Apr-1994 | IBM SSK 13-Oct-1987 | CODE TKL MX clear | Model M 122 01-Jun-1988

Ị̸͚̯̲́ͤ̃͑̇̑ͯ̊̂͟ͅs̞͚̩͉̝̪̲͗͊ͪ̽̚̚ ̭̦͖͕̑́͌ͬͩ͟t̷̻͔̙̑͟h̹̠̼͋ͤ͋i̤̜̣̦̱̫͈͔̞ͭ͑ͥ̌̔s̬͔͎̍̈ͥͫ̐̾ͣ̔̇͘ͅ ̩̘̼͆̐̕e̞̰͓̲̺̎͐̏ͬ̓̅̾͠͝ͅv̶̰͕̱̞̥̍ͣ̄̕e͕͙͖̬̜͓͎̤̊ͭ͐͝ṇ̰͎̱̤̟̭ͫ͌̌͢͠ͅ ̳̥̦ͮ̐ͤ̎̊ͣ͡͡n̤̜̙̺̪̒͜e̶̻̦̿ͮ̂̀c̝̘̝͖̠̖͐ͨͪ̈̐͌ͩ̀e̷̥͇̋ͦs̢̡̤ͤͤͯ͜s͈̠̉̑͘a̱͕̗͖̳̥̺ͬͦͧ͆̌̑͡r̶̟̖̈͘ỷ̮̦̩͙͔ͫ̾ͬ̔ͬͮ̌?̵̘͇͔͙ͥͪ͞ͅ

Offline Hypersphere

  • Posts: 1886
  • Location: USA
Re: Keyboard Mac OS X for [programmining]?
« Reply #2 on: Wed, 05 November 2014, 15:42:58 »
I can vouch for Karabiner. It works very well indeed.

When I want to use a keyboard that is inherently Mac-friendly, I use my HHKB Pro 2.

Otherwise, I use Karabiner to remap my other keyboards to a hybrid Mac/HHKB Pro 2 layout.

My favorite keyboards at the moment are RF 87ub 55g, RF 87ub 45g, HHKB Pro 2, and IBM Model F XT. I use all of them with my Mac as the primary computer. I also use Linux and Windows 7. I can use all these at once by sharing the keyboard and mouse using a combination of software (Synergy) and hardware (Iogear KM switch). This works well across an array of three monitors.




Offline jacobolus

  • Posts: 3670
  • Location: San Francisco, CA
Re: Keyboard Mac OS X for [programmining]?
« Reply #3 on: Wed, 05 November 2014, 15:47:02 »
If you just want to change your keyboard layout, you can make a new one with Ukelele: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=ukelele

You might find this thing I wrote in 2006 useful: http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html
(though unfortunately at the moment the Harvard Computer Society’s server seems to be down :/)

Offline spiceBar

  • Posts: 998
    • ChessTiger.com
Re: Keyboard Mac OS X for [programmining]?
« Reply #4 on: Wed, 05 November 2014, 21:07:39 »
Hey guys!
I'm from Germany and thats the only forum i found for this question :$ (so my english isn't the best^^)

I got an iMac 2 weeks ago. Because I programm in XCode (and Java) I'm going to buy a MECHANIC Keyboard.

so many Windows Keyboards out there, but not much for OS X. :(
I need a mechanic OS X Keyboard for programming..
First question:
I read yesterday that there is a software called Karabiner, which you can use to change the KeyLetters (KeyCodes).
Because I want to change these brackets {} with them: ()
Does it work? Please answer, thanks :)

Second question:
Which Keyboard is really good to use for Mac and is an OS X Keyboard? :)

Thank you very much! (:

As Jacobolus as pointed out, Ukelele is the "normal" way to do this.

You can do it with Karabiner, and you can also do a lot of wonderful things, but it may be more complicated.

Use Ukelele for simple character assignation, and Karabiner when you cannot do it with Ukelele.

With Ukelele it will be relatively simple: load the default layout you are using now, and make the changes. Save the layout, and use it as your new default layout.

Most mechanical keyboards will work fine with OS X. Some are designed with the Mac in mind, like some keyboards from Matias.

Coming from Windows/Linux, I simply use keyboards designed for the PC and configure the Mac, with Karabiner, so it responds to keys like a PC. For example, when I do PageUp, the cursor "follows" (goes to the new page). On the Mac by default the cursor would stay where it is, so it would disappear from view, which I find unusable (or I would have to do Alt-PageUp all the time).

TL;DR: any mechanical keyboard will work fine on the Mac, and Ukelele is probably better for the small change you want to do.

Offline jacobolus

  • Posts: 3670
  • Location: San Francisco, CA
Re: Keyboard Mac OS X for [programmining]?
« Reply #5 on: Wed, 05 November 2014, 21:21:29 »
Coming from Windows/Linux, I simply use keyboards designed for the PC and configure the Mac, with Karabiner, so it responds to keys like a PC. For example, when I do PageUp, the cursor "follows" (goes to the new page). On the Mac by default the cursor would stay where it is, so it would disappear from view, which I find unusable (or I would have to do Alt-PageUp all the time).
This is very easy to change without any need for custom keyboard drivers or kernel extensions, as that article I linked about the cocoa text system details.

Here are the default bindings for all cocoa text widgets:
http://www.hcs.harvard.edu/~jrus/site/system-bindings.html

And here are a list of possible selectors to bind to keys:
http://www.hcs.harvard.edu/~jrus/site/selectors.html

Here’s a basic set of bindings from Windows:
http://www.hcs.harvard.edu/~jrus/site/KeyBindings/Windows%20Bindings.dict

Just move that file to the path ~/Library/KeyBindings/DefaultKeyBinding.dict and it will take effect the next time you open any app with proper OS X text widget keyboard handling.

Offline oli0060

  • Thread Starter
  • Posts: 2
Re: Keyboard Mac OS X for [programmining]?
« Reply #6 on: Thu, 06 November 2014, 00:10:12 »
Thank you all very much :)

Offline bueller

  • MX baller
  • * Esteemed Elder
  • Posts: 3769
  • Location: Perth, Australia
  • Church of the Ergo Clear
Re: Keyboard Mac OS X for [programmining]?
« Reply #7 on: Thu, 06 November 2014, 00:11:35 »
One thing to note when trying to do remaps of keys is that you have the correct keyboard selected, I had a major problem at first because I forgot to change it to my external keyboard and it kept choosing the laptop keyboard.
It's a good width!  If it's half-width it's too narrow, and full-width is too wide. 

[WTT] bueller's trade thread - CLACKS WANTED

Offline saturnotaku

  • Posts: 680
  • Location: The 'burbs, IL USA
Re: Keyboard Mac OS X for [programmining]?
« Reply #8 on: Thu, 06 November 2014, 09:11:44 »
List of Mac-friendly mechanical keyboards

For coding/programming, I would recommend the Happy Hacking Keyboard.

Offline spiceBar

  • Posts: 998
    • ChessTiger.com
Re: Keyboard Mac OS X for [programmining]?
« Reply #9 on: Thu, 06 November 2014, 16:37:12 »
Coming from Windows/Linux, I simply use keyboards designed for the PC and configure the Mac, with Karabiner, so it responds to keys like a PC. For example, when I do PageUp, the cursor "follows" (goes to the new page). On the Mac by default the cursor would stay where it is, so it would disappear from view, which I find unusable (or I would have to do Alt-PageUp all the time).
This is very easy to change without any need for custom keyboard drivers or kernel extensions, as that article I linked about the cocoa text system details.

Here are the default bindings for all cocoa text widgets:
http://www.hcs.harvard.edu/~jrus/site/system-bindings.html

And here are a list of possible selectors to bind to keys:
http://www.hcs.harvard.edu/~jrus/site/selectors.html

Here’s a basic set of bindings from Windows:
http://www.hcs.harvard.edu/~jrus/site/KeyBindings/Windows%20Bindings.dict

Just move that file to the path ~/Library/KeyBindings/DefaultKeyBinding.dict and it will take effect the next time you open any app with proper OS X text widget keyboard handling.

Thank you. I must have a look at this.

Offline rowdy

  • HHKB Hapster
  • * Erudite Elder
  • Posts: 21175
  • Location: melbourne.vic.au
  • Missed another sale.
Re: Keyboard Mac OS X for [programmining]?
« Reply #10 on: Thu, 06 November 2014, 19:06:01 »
List of Mac-friendly mechanical keyboards

For coding/programming, I would recommend the Happy Hacking Keyboard.

With HHKB (or any keyboard) you can use Ctrl sequences for much of the cursor movement.  Like Ctrl-A for line end, Ctrl-F for character forward.  Thus you do not have to use Home/End etc. which is in the HHKB's favour :)
"Because keyboards are accessories to PC makers, they focus on minimizing the manufacturing costs. But that’s incorrect. It’s in HHKB’s slogan, but when America’s cowboys were in the middle of a trip and their horse died, they would leave the horse there. But even if they were in the middle of a desert, they would take their saddle with them. The horse was a consumable good, but the saddle was an interface that their bodies had gotten used to. In the same vein, PCs are consumable goods, while keyboards are important interfaces." - Eiiti Wada

NEC APC-H4100E | Ducky DK9008 Shine MX blue LED red | Ducky DK9008 Shine MX blue LED green | Link 900243-08 | CM QFR MX black | KeyCool 87 white MX reds | HHKB 2 Pro | Model M 02-Mar-1993 | Model M 29-Nov-1995 | CM Trigger (broken) | CM QFS MX green | Ducky DK9087 Shine 3 TKL Yellow Edition MX black | Lexmark SSK 21-Apr-1994 | IBM SSK 13-Oct-1987 | CODE TKL MX clear | Model M 122 01-Jun-1988

Ị̸͚̯̲́ͤ̃͑̇̑ͯ̊̂͟ͅs̞͚̩͉̝̪̲͗͊ͪ̽̚̚ ̭̦͖͕̑́͌ͬͩ͟t̷̻͔̙̑͟h̹̠̼͋ͤ͋i̤̜̣̦̱̫͈͔̞ͭ͑ͥ̌̔s̬͔͎̍̈ͥͫ̐̾ͣ̔̇͘ͅ ̩̘̼͆̐̕e̞̰͓̲̺̎͐̏ͬ̓̅̾͠͝ͅv̶̰͕̱̞̥̍ͣ̄̕e͕͙͖̬̜͓͎̤̊ͭ͐͝ṇ̰͎̱̤̟̭ͫ͌̌͢͠ͅ ̳̥̦ͮ̐ͤ̎̊ͣ͡͡n̤̜̙̺̪̒͜e̶̻̦̿ͮ̂̀c̝̘̝͖̠̖͐ͨͪ̈̐͌ͩ̀e̷̥͇̋ͦs̢̡̤ͤͤͯ͜s͈̠̉̑͘a̱͕̗͖̳̥̺ͬͦͧ͆̌̑͡r̶̟̖̈͘ỷ̮̦̩͙͔ͫ̾ͬ̔ͬͮ̌?̵̘͇͔͙ͥͪ͞ͅ

Offline SonOfSonOfSpock

  • Posts: 321
  • Location: Colorado, USA
Re: Keyboard Mac OS X for [programmining]?
« Reply #11 on: Thu, 06 November 2014, 23:26:08 »
Matias has several Mac options. They put the modifiers like command closer to the middle just like on Apple made keyboards which is nice if you hit command with your thumb.

I've used several keyboards on Macs and they all work. You can use just about anything and it will work.