Skip to content

Instantly share code, notes, and snippets.

@natevw
Last active March 26, 2024 09:51
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save natevw/0fce6b56c606632f8ee780b5d493f94e to your computer and use it in GitHub Desktop.
Save natevw/0fce6b56c606632f8ee780b5d493f94e to your computer and use it in GitHub Desktop.
A list of Morse code supported by GBoard Android Keyboard

Morse code supported by GBoard Android Keyboard

Google's GBoard software keyboard has a Morse code mode.

Here's what characters it currently supports:

  • .-a
  • -...b
  • -.-.c
  • -..d
  • .e
  • ..-.f
  • --.g
  • ....h
  • ..i
  • .---j
  • -.-k
  • .-..l
  • --m
  • -.n
  • ---o
  • .--.p
  • --.-q
  • .-.r
  • ...s
  • -t
  • ..-u
  • ...-v
  • .--w
  • -..-x
  • -.--y
  • --..z
  • -----0
  • .----1
  • ..---2
  • ...--3
  • ....-4
  • .....5
  • -....6
  • --...7
  • ---..8
  • ----.9
  • .-.-.-.
  • --..--,
  • ..--..?
  • .----.'
  • -.-.--!
  • -..-./
  • -.--.(
  • -.--.-)
  • .-...&
  • ---...:
  • -.-.-.;
  • -...-=
  • .-.-.+
  • -....--
  • ..--.-_
  • .--.-.@
  • .-..-."
  • ...-.*
  • -.-.-\
  • ---.-%
  • --.-.#
  • --.-.-|
  • ......^
  • .---..~
  • -..-.-`
  • ...-..$
  • .--..[
  • .--..-]
  • .--.-{
  • .--.--}
  • -.---<
  • -.---->
  • ..--[space]
  • .-.-[enter]
  • ....-.[shift]
  • ----[backspace]
  • .-----[candidate 1]
  • ..----[candidate 2]
  • ...---[candidate 3]

Details

See https://ham.stackexchange.com/questions/10260/morse-code-meta-command-sequences/10440#10440 for context and a bit more high-level discussion.

Found in one of the files containing UPDATE_MORSE_BUFFER of GBoard APK disassembly via online JADX tool ["com.google.android.inputmethod.latin_7.3.3.199102047-beta-arm64-v8a-26730306_minAPI21(arm64-v8a)(nodpi)_apkmirror.com_source_from_JADX/p000/ayb.java"], manually fixed up from a chained method call.

@Crysknife007
Copy link

Thank you so much for this.

@natevw
Copy link
Author

natevw commented Aug 14, 2021

@Crysknife007 Glad someone found it helpful/interesting :-)

@Crysknife007
Copy link

@natevw Absolutely! I've turned the codes you pulled from the app and made a pdf version of them all to help with the project I'm working on currently:

https://github.com/Crysknife007/morsePico

@yalla
Copy link

yalla commented Jun 10, 2022

And I made some other use of it... Thanks for documenting it!
https://blog.ynfonatic.de/hardware/input/2022/06/10/because-i-can.html

@natevw
Copy link
Author

natevw commented Jun 21, 2022

@yalla Very cool! Thanks for sharing, I'm hoping to try it out myself one of these evenings :-)

[working link currently is https://blog.ynfonatic.de/hardware/input/2022/06/10/because-i-can.html, https://gist.github.com/yalla/3c5dea5db909383b9e03a4b506e51cf7]

@yalla
Copy link

yalla commented Jun 23, 2022

@natevw Oh thanks for the notice! Yeah, Jekyll found it's cool to change the link when I add the post retroactively to a category... hehe, forgot about that. Corrected original comment with correct link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment