LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 167|回复: 3

[wowbee] 求助“鼠标侧键按下”判断写法

[复制链接]
发表于 2023-10-3 16:47:01 | 显示全部楼层 |阅读模式
请教一下,鼠标测试按下怎么判断?
鼠标侧键判断怎么写?我将 IsAltKeyDown() 中的Alt 换成 MOUSE_BUTTON4 用不了,换成 button == MOUSE_BUTTON4 也无法使用
回复

使用道具 举报

发表于 2023-10-3 18:31:17 | 显示全部楼层

回帖奖励 +1 伸手费

回复 支持 反对

使用道具 举报

发表于 2023-10-7 16:57:13 | 显示全部楼层
Signature:

isDown = IsMouseButtonDown([button])

Arguments:

    button - Number or name of a mouse button (number,string)
        1 or LeftButton - Primary mouse button
        2 or RightButton - Secondary mouse button
        3 or MiddleButton - Third mouse button (or clickable scroll control)
        4 or Button4 - Fourth mouse button
        5 or Button5 - Fifth mouse button

Returns:

    isDown - 1 if the mouse button is down; otherwise nil (1nil)

点评

谢谢哥,爱你哟,ღ( ′・ᴗ・` )比心  发表于 2023-10-15 02:07 PM
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2024-5-5 06:19 AM , Processed in 0.045756 second(s), 18 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表