Rewrite input to c++
Implement input device interface, rewrite the keypad input to use gpio callbacks and implement basic polling in main. The input devices add themselves to the devices list based on custom kernel configs. Signed-off-by: Luca Seritan <luca.seritan@huawei.com> Signed-off-by: Grzegorz Gwozdz <grzegorz.gwozdz@huawei.com>
Showing
- src/coapInput.cpp 146 additions, 0 deletionssrc/coapInput.cpp
- src/coapInput.hpp 33 additions, 0 deletionssrc/coapInput.hpp
- src/inputDevice.hpp 14 additions, 0 deletionssrc/inputDevice.hpp
- src/inputStateMachine.cpp 98 additions, 0 deletionssrc/inputStateMachine.cpp
- src/inputStateMachine.hpp 42 additions, 0 deletionssrc/inputStateMachine.hpp
- src/keypadInput.cpp 84 additions, 0 deletionssrc/keypadInput.cpp
- src/keypadInput.hpp 72 additions, 0 deletionssrc/keypadInput.hpp
- src/shellInput.cpp 48 additions, 0 deletionssrc/shellInput.cpp
- src/shellInput.hpp 28 additions, 0 deletionssrc/shellInput.hpp
src/coapInput.cpp
0 → 100644
src/coapInput.hpp
0 → 100644
src/inputDevice.hpp
0 → 100644
src/inputStateMachine.cpp
0 → 100644
src/inputStateMachine.hpp
0 → 100644
src/keypadInput.cpp
0 → 100644
src/keypadInput.hpp
0 → 100644
src/shellInput.cpp
0 → 100644
src/shellInput.hpp
0 → 100644
Please register or sign in to comment