コード例 #1
0
ファイル: ScpPadState.cs プロジェクト: zultharion/ScpServer
        protected virtual bool Wheel(bool Old, bool New, bool Vertical, bool Direction)
        {
            if (!Old && New)
            {
                KbmPost.Wheel(Vertical, Direction ? 1 : -1);
            }

            return(New);
        }
コード例 #2
0
        protected virtual Boolean Wheel(Boolean Old, Boolean New, Boolean Vertical, Boolean Direction)
        {
            if (!Old && New)
            {
                KbmPost.Wheel(Vertical, Direction ? 1 : -1);
            }

            return(New);
        }