diff options
| author | Teddy Wing | 2018-10-14 16:53:48 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-10-14 16:53:48 +0200 |
| commit | ac304f65bdd7dcdac4befca1060aa7951c362727 (patch) | |
| tree | af96f3f3bb9dca9d1c89e43a7eafd35eb2cdcc93 /test.c | |
| parent | 3b2cd9bd85f92a42d927ad8c04d1c392f99e544f (diff) | |
| download | dome_key_event_source_simulator-ac304f65bdd7dcdac4befca1060aa7951c362727.tar.bz2 | |
Remove hard-coded play key
Allow any special key to be simulated.
Diffstat (limited to 'test.c')
| -rw-r--r-- | test.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,8 @@ #include "dome_key_event_source_simulator/dome_key_event_source_simulator.h" int main() { - dkess_press_key(0, 0); + const int NX_KEYTYPE_PLAY = 16; + dkess_press_key(NX_KEYTYPE_PLAY, 0); return 0; } |
