OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [common/] [coreservices/] [ikeyboard.h] - Rev 5

Compare with Previous | Blame | View Log

/**
 * @file
 * @copyright  Copyright 2017 GNSS Sensor Ltd. All right reserved.
 * @author     Sergey Khabarov - sergeykhbr@gmail.com
 * @brief      Keyboard interface declaration.
 */
 
#ifndef __DEBUGGER_COMMON_CORESERVICES_IKEYBOARD_H__
#define __DEBUGGER_COMMON_CORESERVICES_IKEYBOARD_H__
 
#include <iface.h>
#include <inttypes.h>
 
namespace debugger {
 
static const char *const IFACE_KEYBOARD = "IKeyboard";
 
class IKeyboard : public IFace {
 public:
    IKeyboard() : IFace(IFACE_KEYBOARD) {}
 
    virtual void keyPress(const char *keyname) = 0;
    virtual void keyRelease(const char *keyname) = 0;
};
 
}  // namespace debugger
 
#endif  // __DEBUGGER_COMMON_CORESERVICES_IKEYBOARD_H__
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.