rcinput: remove unused/unimplemented click functions

This commit is contained in:
Stefan Seyfried
2017-02-20 20:36:45 +01:00
committed by M. Liebmann
parent dceb6989a8
commit f45456d7a8
6 changed files with 0 additions and 40 deletions

View File

@@ -143,7 +143,6 @@ CRCInput::CRCInput()
perror("[neutrino] listen failed...\n");
exit( -1 );
}
clickfd = -1;
repeat_block = repeat_block_generic = 0;
checkdev();
open();
@@ -335,7 +334,6 @@ void CRCInput::open(bool recheck)
//+++++++++++++++++++++++++++++++++++++++
#endif /* KEYBOARD_INSTEAD_OF_REMOTE_CONTROL */
open_click();
calculateMaxFd();
}
@@ -396,7 +394,6 @@ CRCInput::~CRCInput()
if(fd_event)
::close(fd_event);
close_click();
}
/**************************************************************************
@@ -1474,8 +1471,6 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
*msg = trkey;
*data = 0; /* <- button pressed */
if(g_settings.key_click)
play_click();
return;
}
} /*if keyok */
@@ -1780,27 +1775,6 @@ int CRCInput::translate(int code)
return (int)RC_nokey;
}
void CRCInput::close_click()
{
}
void CRCInput::open_click()
{
}
#if 0
//never used
void CRCInput::reset_dsp(int /*rate*/)
{
}
void CRCInput::set_dsp()
{
}
#endif
void CRCInput::play_click()
{
}
void CRCInput::setKeyRepeatDelay(unsigned int start_ms, unsigned int repeat_ms)
{
for (std::vector<in_dev>::iterator it = indev.begin(); it != indev.end(); ++it) {