test
This commit is contained in:
parent
37776af5db
commit
ab03d5f10c
4045 changed files with 286212 additions and 3 deletions
47
.config/Code/User/History/449cb39d/vAfA.cpp
Normal file
47
.config/Code/User/History/449cb39d/vAfA.cpp
Normal file
|
@ -0,0 +1,47 @@
|
|||
struct keyinfo{
|
||||
bool pressedOnce;
|
||||
long long time;
|
||||
keyinfo() : pressedOnce(false), time(0){}
|
||||
virtual void single_press() = 0;
|
||||
};
|
||||
|
||||
struct esc_info : public keyinfo{
|
||||
void single_press(){
|
||||
|
||||
}
|
||||
void double_press(){
|
||||
|
||||
}
|
||||
};
|
||||
struct shift_info : public keyinfo{
|
||||
void single_press(){
|
||||
|
||||
}
|
||||
void double_press(){
|
||||
|
||||
}
|
||||
};
|
||||
struct ctrl_info : public keyinfo{
|
||||
void single_press(){
|
||||
|
||||
}
|
||||
void double_press(){
|
||||
|
||||
}
|
||||
};
|
||||
struct alt_info : public keyinfo{
|
||||
void single_press(){
|
||||
|
||||
}
|
||||
void double_press(){
|
||||
|
||||
}
|
||||
};
|
||||
struct super_info : public keyinfo{
|
||||
void single_press(){
|
||||
|
||||
}
|
||||
void double_press(){
|
||||
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue