For the sake of this question I have created the following small example to reproduce the issue I am asking about.
\documentclass[a4paper]{article}
\usepackage{parskip}
\usepackage[os=win]{menukeys}
\begin{document}
\keys{a} \keys{b}\\
\keys{A} \keys{B}\\
\keys{<} \keys{>}
\end{document}
I would like to synthesize the < and > character as a key press using \keys{}. However, I am not talking about the cursor keys here. I mean the smaller than and greater than keys which can be accessed by using the Shift+, and Shift+. sequence on a US-English keyboard.
The above example produces this:

Edit: I'd like to add the ~ key to the list of problematic characters which won't render inside \keys{}.
<and>quite nicely. Any idea for~? – 0xC0000022L Mar 28 '15 at 22:03