mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-17 02:24:55 +00:00
36 lines
527 B
C++
36 lines
527 B
C++
|
//
|
||
|
// ADB.hpp
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 31/10/2020.
|
||
|
// Copyright © 2020 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#ifndef Apple_IIgs_ADB_hpp
|
||
|
#define Apple_IIgs_ADB_hpp
|
||
|
|
||
|
#include <cstdint>
|
||
|
|
||
|
namespace Apple {
|
||
|
namespace IIgs {
|
||
|
namespace ADB {
|
||
|
|
||
|
class GLU {
|
||
|
public:
|
||
|
uint8_t get_keyboard_data();
|
||
|
uint8_t get_mouse_data();
|
||
|
uint8_t get_modifier_status();
|
||
|
|
||
|
uint8_t get_data();
|
||
|
uint8_t get_status();
|
||
|
|
||
|
void set_command(uint8_t);
|
||
|
void set_status(uint8_t);
|
||
|
};
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif /* Apple_IIgs_ADB_hpp */
|