-/* static int */
-/* _ecore_wl_input_keysym_to_string(unsigned int symbol, char *buffer, int len) */
-/* { */
-/* unsigned long high_bytes; */
-/* unsigned char c; */
-
-/* high_bytes = symbol >> 8; */
-/* if (!(len && */
-/* ((high_bytes == 0) || */
-/* ((high_bytes == 0xFF) && */
-/* (((symbol >= XK_BackSpace) && */
-/* (symbol <= XK_Clear)) || */
-/* (symbol == XK_Return) || */
-/* (symbol == XK_Escape) || */
-/* (symbol == XK_KP_Space) || */
-/* (symbol == XK_KP_Tab) || */
-/* (symbol == XK_KP_Enter) || */
-/* ((symbol >= XK_KP_Multiply) && */
-/* (symbol <= XK_KP_9)) || */
-/* (symbol == XK_KP_Equal) || */
-/* (symbol == XK_Delete)))))) */
-/* return 0; */
-
-/* if (symbol == XK_KP_Space) */
-/* else if (high_bytes == 0xFF) */
-/* c = symbol & 0x7F; */
-/* else */
-/* c = symbol & 0xFF; */
-
-/* buffer[0] = c; */
-/* return 1; */
-/* } */
+static int
+_ecore_wl_input_keysym_to_string(unsigned int symbol, char *buffer, int len)
+{
+ unsigned long high_bytes;
+ unsigned char c;
+
+ high_bytes = symbol >> 8;
+ if (!(len &&
+ ((high_bytes == 0) ||
+ ((high_bytes == 0xFF) &&
+ (((symbol >= XKB_KEY_BackSpace) &&
+ (symbol <= XKB_KEY_Clear)) ||
+ (symbol == XKB_KEY_Return) ||
+ (symbol == XKB_KEY_Escape) ||
+ (symbol == XKB_KEY_KP_Space) ||
+ (symbol == XKB_KEY_KP_Tab) ||
+ (symbol == XKB_KEY_KP_Enter) ||
+ ((symbol >= XKB_KEY_KP_Multiply) &&
+ (symbol <= XKB_KEY_KP_9)) ||
+ (symbol == XKB_KEY_KP_Equal) ||
+ (symbol == XKB_KEY_Delete))))))
+ return 0;
+
+ if (symbol == XKB_KEY_KP_Space)
+ c = ' ';
+ else if (high_bytes == 0xFF)
+ c = symbol & 0x7F;
+ else
+ c = symbol & 0xFF;
+
+ buffer[0] = c;
+ return 1;
+}