@@ -352,6 +352,36 @@ public static class Keys
352352 /// </summary>
353353 public static readonly string ZenkakuHankaku = Convert . ToString ( Convert . ToChar ( 0xE040 , CultureInfo . InvariantCulture ) , CultureInfo . InvariantCulture ) ;
354354
355+ /// <summary>
356+ /// Represents the right Shift key.
357+ /// </summary>
358+ public static readonly string RightShift = Convert . ToString ( Convert . ToChar ( 0xE050 , CultureInfo . InvariantCulture ) , CultureInfo . InvariantCulture ) ;
359+
360+ /// <summary>
361+ /// Represents the right Control key.
362+ /// </summary>
363+ public static readonly string RightControl = Convert . ToString ( Convert . ToChar ( 0xE051 , CultureInfo . InvariantCulture ) , CultureInfo . InvariantCulture ) ;
364+
365+ /// <summary>
366+ /// Represents the right Alt key.
367+ /// </summary>
368+ public static readonly string RightAlt = Convert . ToString ( Convert . ToChar ( 0xE052 , CultureInfo . InvariantCulture ) , CultureInfo . InvariantCulture ) ;
369+
370+ /// <summary>
371+ /// Represents the right Command key (macOS).
372+ /// </summary>
373+ public static readonly string RightCommand = Convert . ToString ( Convert . ToChar ( 0xE053 , CultureInfo . InvariantCulture ) , CultureInfo . InvariantCulture ) ;
374+
375+ /// <summary>
376+ /// Represents the macOS Options key (same Unicode value as RightShift).
377+ /// </summary>
378+ public static readonly string Options = Convert . ToString ( Convert . ToChar ( 0xE050 , CultureInfo . InvariantCulture ) , CultureInfo . InvariantCulture ) ;
379+
380+ /// <summary>
381+ /// Represents the macOS Function key (same Unicode value as RightControl).
382+ /// </summary>
383+ public static readonly string Function = Convert . ToString ( Convert . ToChar ( 0xE051 , CultureInfo . InvariantCulture ) , CultureInfo . InvariantCulture ) ;
384+
355385 private static Dictionary < string , string > ? descriptions ;
356386
357387 /// <summary>
@@ -422,6 +452,12 @@ internal static object GetDescription(string value)
422452 descriptions . Add ( Meta , "Meta" ) ;
423453 descriptions . Add ( Command , "Command" ) ;
424454 descriptions . Add ( ZenkakuHankaku , "Zenkaku Hankaku" ) ;
455+ descriptions . Add ( RightShift , "Right Shift" ) ;
456+ descriptions . Add ( RightControl , "Right Control" ) ;
457+ descriptions . Add ( RightAlt , "Right Alt" ) ;
458+ descriptions . Add ( RightCommand , "Right Command" ) ;
459+ descriptions . Add ( Options , "Options" ) ;
460+ descriptions . Add ( Function , "Function" ) ;
425461 }
426462
427463 if ( descriptions . TryGetValue ( value , out string ? description ) )
0 commit comments