我有一個用python寫的gobject操縱桿類,它除了一個小問題外很好。當我運行下面的代碼時,按鈕反彈,它會多次按下所有按鈕。如何以合理的精度將每個按鈕按下一條消息? '''
Copyright 2009 Jezra Lickter
This software is distributed AS IS. Use at your own risk.
If it borks your sys
joystick.cs using System;
using Microsoft.DirectX.DirectInput;
namespace gameproject
{
/// <summary>
/// Description of device.
/// </summary>
class joysticks
{
pub