| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2003, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | * |
|---|
| 10 | * $brcm_Workfile: bsettop_keystroke.h |
|---|
| 11 | * $brcm_Revision: |
|---|
| 12 | * $brcm_Date: |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /BSEAV/api/include/bsettop_keystroke.h $ |
|---|
| 19 | * |
|---|
| 20 | * 2 2/17/05 1:10p ywu |
|---|
| 21 | * PR 13748: Create an IR keystrokes automation utility |
|---|
| 22 | * |
|---|
| 23 | * Irvine_BSEAVSW_Devel/2 1/12/05 2:47p erickson |
|---|
| 24 | * PR13748: fixed minor compile warnings |
|---|
| 25 | * |
|---|
| 26 | * Irvine_BSEAVSW_Devel/1 1/5/05 12:37p ywu |
|---|
| 27 | * PR 13748: Create an IR keystrokes automation utility |
|---|
| 28 | * bsettop_keystroke.c/h |
|---|
| 29 | * |
|---|
| 30 | * Irvine_BSEAVSW_Devel/PR13748 1/3/05 12:00pm Ella |
|---|
| 31 | * Initial version for keystrokes automation. Has been verified in Kylin |
|---|
| 32 | * |
|---|
| 33 | ***************************************************************************/ |
|---|
| 34 | |
|---|
| 35 | #ifndef BSETTOP_KEYSTROKE_H__ |
|---|
| 36 | #define BSETTOP_KEYSTROKE_H__ |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | #ifdef __cplusplus |
|---|
| 40 | extern "C" |
|---|
| 41 | { |
|---|
| 42 | #endif |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | bresult buser_input_keystrokes_open( |
|---|
| 46 | buser_input_t ui, |
|---|
| 47 | bool playback, |
|---|
| 48 | const char *file, |
|---|
| 49 | const char *stressfile); |
|---|
| 50 | |
|---|
| 51 | void buser_input_keystrokes_close( |
|---|
| 52 | buser_input_t ui); |
|---|
| 53 | |
|---|
| 54 | void buser_input_keystrokes_set_settings( |
|---|
| 55 | buser_input_t ui, |
|---|
| 56 | const buser_input_settings *settings); |
|---|
| 57 | |
|---|
| 58 | bresult buser_input_keystrokes_get_event( |
|---|
| 59 | buser_input_t ui, /* user input object */ |
|---|
| 60 | buser_input_event *event, /* [out,size_is(nevents)] event array from the user */ |
|---|
| 61 | unsigned nevents, /* number of entries in the event array */ |
|---|
| 62 | unsigned *result_nevents /* [out] number of entries read */ |
|---|
| 63 | ); |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | #ifdef __cplusplus |
|---|
| 67 | } |
|---|
| 68 | #endif |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | #endif |
|---|