Tizen:Where can we find the implementation code for Tizen::Ui::SystemUtil::GenerateKeyEvent?

StackOverflow https://stackoverflow.com/questions/19548506

  •  01-07-2022
  •  | 
  •  

Question

I would like to know how the key event is read and dispatched from the kernel to the Tizen OS. Haven't found any informative document on the same. While surfing through Tizen wiki I came across Tizen::Ui::SystemUtil::GenerateKeyEvent function which says it generates a key event. I would like to see the implementation of this function and understand how the key event is generated and injected into the input queue. Please let me know where can we find the source code of this implementation. Also, point me to,if any, documentation is available that gives information about the event propagation from keypress till it reaches the application.

Thanks in advance.

Était-ce utile?

La solution

The code for Tizen::Ui::SystemUtil::GenerateKeyEvent is found here. It in turn calls the SystemUtilImpl version of GenerateKeyEvent, which you can find here.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top