core: Mouse buttons state integration #101
This allows users to use mousekey buttons with PS/2, ADB or Serial pointing device.
This commit is contained in:
parent
b981b8e266
commit
5f7d388dee
12 changed files with 86 additions and 0 deletions
|
|
@ -16,6 +16,10 @@
|
|||
#define ROW(code) ((code>>4)&0x07)
|
||||
#define COL(code) (code&0x0F)
|
||||
|
||||
#ifdef IBMPC_MOUSE_ENABLE
|
||||
extern "C" uint8_t ibmpc_mouse_buttons(void);
|
||||
#endif
|
||||
|
||||
|
||||
class IBMPCConverter {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue