Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Beep sound for button press: (2 Items)
   
Beep sound for button press  
Hi, 

How do we configure a beep sound for a button press in photon application.

Please suggest me on above issue.

Regards,
Harish.
Re: Beep sound for button press  
Hi,

 try this



fp = fopen( "/dev/con1", "w" );
if( fp != NULL ) {
putc('\a', fp);
putc('\n', fp);
fclose( fp );
}