keyinput.java

来自「桌面控制的程序啊啊 啊啊 啊啊 啊啊 啊啊 啊啊 啊啊啊」· Java 代码 · 共 37 行

JAVA
37
字号
// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 3/8/2007 1:20:10 PM
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   KeyInput.java

package common;

import java.io.Serializable;

public class KeyInput
    implements Serializable
{

    public KeyInput(int action, int key)
    {
        this.action = action;
        this.key = key;
    }

    public int getAction()
    {
        return action;
    }

    public int getKey()
    {
        return key;
    }

    public String toString()
    {
        return (action != 401 ? "KeyRelease " : "keyPress ") + key;
    }

    private int action;
    private int key;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?