title: remap apostrophe to other keys using hammerspoon
body: <p>the problem is caused by library's bug and this had been fixed.</p>
  
  <hr>
  
  <p>I'm using hammerspoon and I'm trying to remap <code>Ctrl + '</code> to backtick(`) but I cannot.</p>
  
  <p>the setting file init.lua is like below:</p>
  
  <pre><code>local function keyCode(key, modifiers)
     modifiers = modifiers or {}
     return function()
        hs.eventtap.event.newKeyEvent(modifiers, string.lower(key), true):post()
        hs.timer.usleep(100)
        hs.eventtap.event.newKeyEvent(modifiers, string.lower(key), false):post()
     end
  end
  
  local function remapKey(modifiers, key, keyCode)
     hs.hotkey.bind(modifiers, key, keyCode, nil, keyCode)
  end
  
  remapKey({'ctrl'}, 'h', keyCode('delete')) // works
  remapKey({'ctrl'}, "'", keyCode("`")) // does not work
  </code></pre>
  
  <p>error message is:</p>
  
  <pre><code>Invalid key: ' - this may mean that the key requested does not exist in your keymap (particularly if you switch keyboard layouts frequently)
  </code></pre>
  
  <p>it seems the problem is <code>hs.keycodes.map</code> does not include apostrophe (but it includes double-quote and backtick).</p>
  
  <p>is it possible to remap apostrophe?</p>