예제 #1
0
static void xbmc_button_up (const char *button)
{
  if (debug) printf("NEC send up [%s]\n", button);
  xbmc.SendButton(button, "R1", BTN_UP);
}
예제 #2
0
static void xbmc_button_down (const char *button)
{
  if (debug) printf("NEC send down [%s]\n", button);
  xbmc.SendButton(button, "R1", BTN_DOWN);
}
예제 #3
0
static void xbmc_button (const char *button)
{
  if (debug) printf("NEC send [%s]\n", button);
  xbmc.SendButton(button, "R1", BTN_DOWN | BTN_QUEUE | BTN_NO_REPEAT);
}
예제 #4
0
static void xbmc_release_button ()
{
  msg("## send key released\n");
  xbmc.SendButton(0x01, BTN_UP);
}
예제 #5
0
static void xbmc_keyr (const char *key)
{
  msg("## send repeat key (R1) '%s'\n", key);
  xbmc.SendButton(key, "R1", BTN_DOWN);
}
예제 #6
0
static void xbmc_key (const char *key)
{
  msg("## send key (R1) '%s'\n", key);
  xbmc.SendButton(key, "R1", BTN_NO_REPEAT);
}