yyolk / emoji-key

An emoji keyboard with Arduino
MIT License
1 stars 0 forks source link

how to do this? #1

Open eins78 opened 10 years ago

eins78 commented 10 years ago

According to my research, this has to be built in software, not hardware (the keyboards already exist/just need new stickers).

Options on OS X:

  1. Set up 'Text replacements' in Settings > Keyboard > Text. (Settings array is called NSUserReplacementItems in the global domain, look it up with defaults read -g NSUserReplacementItems)
    • Only works in NSTextFields, not any text input
    • mapping of names to emojis already exists: http://www.emoji-cheat-sheet.com
    • because of this, the string also act as a kind of fallback: in web apps that support it (like github), i.e. :thumbsup: => :thumbsup: (so it would work in the terminal and show up in github UI)
  2. or, built new keyboard layouts with ukulele

But really, it would be nice if USB-HID would support that.

yyolk commented 10 years ago

Excellent @eins78

This is a huge start. I think the most clear cut way is what you first mentioned for actual integration. It could even be a custom-rolled service that can be installed, specifically looking at what the Arduino sends over the wire.

It could send the fallback text whenever it is not in the proper field or app that doesn't support emoji. (Even Chrome can support it now with an addon).

Some potentially useful reading: