drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
RawKbdHandler Class Referenceabstract

The RawKbdHandler class callbacks. More...

#include <pianokeybd.h>

Inheritance diagram for RawKbdHandler:

Public Member Functions

virtual bool handleKeyPressed (int keycode)=0
 handleKeyPressed handles low level computer keyboard press events More...
 
virtual bool handleKeyReleased (int keycode)=0
 handleKeyReleased handles low level computer keyboard reelase events More...
 

Detailed Description

The RawKbdHandler class callbacks.

RawKbdHandler provides callbacks for low level computer keyboard events

Definition at line 56 of file pianokeybd.h.

Member Function Documentation

◆ handleKeyPressed()

virtual bool handleKeyPressed ( int  keycode)
pure virtual

handleKeyPressed handles low level computer keyboard press events

Parameters
keycodeThe low level key code pressed
Returns
whether the event has been processed or not

Implemented in PianoKeybd.

◆ handleKeyReleased()

virtual bool handleKeyReleased ( int  keycode)
pure virtual

handleKeyReleased handles low level computer keyboard reelase events

Parameters
keycodeThe low level key code released
Returns
whether the event has been processed or not

Implemented in PianoKeybd.


The documentation for this class was generated from the following file: