Modded: DIY Button Box! - Sim Racing Gear!
Автор: SimFin
Загружено: 2021-10-13
Просмотров: 31612
!!Don't forget to like comment and subscribe!!
Here are all the links for the products, programs, and code mentioned! I hope you guys found this helpful if you need any assistance don't hesitate to comment or reach out! Good luck racing out there!
-----------------------------------------------------------------------------------------------
Products
$10 Dollar Amazon Numberpad
https://www.amazon.com/Manhattan-Wire...
My Numberpad
https://www.ebay.com/itm/393154525785...
Simracing Stickers
https://www.ebay.com/itm/154324455647...
Phone Stand\Holder
https://www.amazon.com/FDGT-Foldable-...
3M Command Strips
https://www.walmart.com/ip/Command-Pi...
-----------------------------------------------------------------------------------------------
Button Box Progams
https://drive.google.com/drive/folder...
-----------------------------------------------------------------------------------------------
Extra Key List
https://github.com/me2d13/luamacros/w...
-----------------------------------------------------------------------------------------------
Code Script - !IMPORTANT MAKE SURE YOU CHANGE THE DEVICE NAME!
lmc_device_set_name('buttonbox','EXAMPLE DEVICE NAME')
lmc_set_handler('buttonbox',function(button,direction)
if (direction ==1) then return end
if (button ==13) then
lmc_send_keys('{ENTER}')
elseif (button == 255) then
lmc_send_keys('n')
elseif (button == 44) then
lmc_send_keys('n')
elseif (button == 170) then
lmc_send_keys('h')
elseif (button == 183) then
lmc_send_keys('p')
elseif (button == 45) then
lmc_send_keys('{INS}')
elseif (button == 36) then
lmc_send_keys('{HOME}')
elseif (button == 33) then
lmc_send_keys('{PGUP}')
elseif (button == 46) then
lmc_send_keys('{DELETE}')
elseif (button == 35) then
lmc_send_keys('{END}')
elseif (button == 34) then
lmc_send_keys('{PGDN}')
elseif (button == 37) then
lmc_send_keys('{LEFT}')
elseif (button == 38) then
lmc_send_keys('{UP}')
elseif (button == 39) then
lmc_send_keys('{RIGHT}')
elseif (button == 40) then
lmc_send_keys('{DOWN}')
elseif (button == 27) then
lmc_send_keys('q')
elseif (button == 9) then
lmc_send_keys('o')
elseif (button == 187) then
lmc_send_keys('w')
elseif (button == 8) then
lmc_send_keys('e')
elseif (button == 48) then
lmc_send_keys('r')
elseif (button == 188) then
lmc_send_keys('t')
elseif (button == 13) then
lmc_send_keys('f')
elseif (button == 111) then
lmc_send_keys('{NUMDIVIDE}')
elseif (button == 106) then
lmc_send_keys('{NUMMULTIPLY}')
elseif (button == 109) then
lmc_send_keys('{NUMMINUS}')
elseif (button == 107) then
lmc_send_keys('{NUMPLUS}')
elseif (button == 190) then
lmc_send_keys('{NUMDECIMAL}')
elseif (button == 13) then
lmc_send_keys('k')
elseif (button == 48) then
lmc_send_keys('{NUM0}')
elseif (button == 49) then
lmc_send_keys('{NUM1}')
elseif (button == 50) then
lmc_send_keys('{NUM2}')
elseif (button == 51) then
lmc_send_keys('{NUM3}')
elseif (button == 52) then
lmc_send_keys('{NUM4}')
elseif (button == 53) then
lmc_send_keys('{NUM5}')
elseif (button == 54) then
lmc_send_keys('{NUM6}')
elseif (button == 55) then
lmc_send_keys('{NUM7}')
elseif (button == 56) then
lmc_send_keys('{NUM8}')
elseif (button == 57) then
lmc_send_keys('{NUM9}')
end
end
)
-----------------------------------------------------------------------------------------------
SWRE
https://tinyurl.com/5n7as8fw
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: