Basically Soft Keys
a mod that allows minecraft to properly use software controlled virtual keys
截图
介绍
this mod injects into minecraft input utils, and allows it to properly use virtual keys, sent by programs like LuaMacros
this allows you to use keys from f13 to f25 as additional binds for a USB numpad, or any other extra keyboard you might have
##
it should work fine with any mods that use minecrafts keybinding
this mod will not work for anything that directly uses hardware keybdinds
#
heres an example lua macros script that maps numpad buttons to f13-f22
lmc_device_set_name('MACROPAD', '<your device ID>')
lmc_set_handler('MACROPAD', function(button, direction)
local vk = nil
if (button == 45) then vk = 124 -- F13
elseif (button == 35) then vk = 125 -- F14
elseif (button == 40) then vk = 126 -- F15
elseif (button == 34) then vk = 127 -- F16
elseif (button == 37) then vk = 128 -- F17
elseif (button == 39) then vk = 129 -- F18
elseif (button == 36) then vk = 130 -- F19
elseif (button == 38) then vk = 131 -- F20
elseif (button == 33) then vk = 132 -- F21
elseif (button == 107) then vk = 133 -- F22
end
if vk then
if direction == 0 then
lmc_send_input(vk, 0, 2) -- key up
else
lmc_send_input(vk, 0, 0) -- key down
end
end
end)
常见问题
Basically Soft Keys 支持哪些 Minecraft 版本?
Basically Soft Keys 支持 Minecraft Java 版 1.21–1.21.11,共 12 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
Basically Soft Keys 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
BasicallyFraud 的其他作品
查看全部 →
Basically More FOV
a mod that allows you to change your FOV on the go!
Basically Restart
Simple mod adding a /restart command to your server
Basically Util Commands
a serverside mod adding commands useful to mapmakers and others
Basically Graves
an entity based grave mod inspired by content SMP
评论
登录后评论和评分