| 赞 | 160 |
| VIP | 0 |
| 好人卡 | 0 |
| 积分 | 272 |
| 经验 | 0 |
| 最后登录 | 2025-10-28 |
| 在线时间 | 5452 小时 |
Lv5.捕梦者
- 梦石
- 0
- 星屑
- 27231
- 在线时间
- 5452 小时
- 注册时间
- 2016-3-8
- 帖子
- 1684
|
那就加在SiNova_Input v1.03的底下喽
class << Input
alias_method :sion_mouse_press?, :press?
alias_method :sion_mouse_trigger?, :trigger?
alias_method :sion_mouse_repeat?, :repeat?
def press?(key)
return true if sion_mouse_press?(key)
return Input.key_press?(0x60) if key == :B
return false
end
def trigger?(key)
return true if sion_mouse_trigger?(key)
return Input.key_trigger?(0x60) if key == :B
return false
end
def repeat?(key)
return true if sion_mouse_repeat?(key)
return Input.key_repeat?(0x60) if key == :B
return false
end
end |
评分
-
查看全部评分
|