Compare commits

..

3 Commits

Author SHA1 Message Date
JonatanRek
df80ce37ed Fixes 2024-09-17 21:39:22 +02:00
JonatanRek
50c6c9a1de Merge branch 'main' of https://git.steelants.cz/JonatanRek/FakeDeck 2024-09-17 21:39:18 +02:00
JonatanRek
0b3822b8da Fixes 2024-09-17 21:36:17 +02:00
3 changed files with 68 additions and 13 deletions

View File

@ -33,6 +33,8 @@ namespace FakeDeck.ButtonType
//Offensive: Orbital Strikes //Offensive: Orbital Strikes
{ "orbital-precision-strike", new uint[] { 0x65, Key_Right, Key_Right, Key_Up}}, { "orbital-precision-strike", new uint[] { 0x65, Key_Right, Key_Right, Key_Up}},
{ "orbital-380-barrage", new uint[] { 0x65, Key_Right, Key_Down, Key_Up, Key_Up, Key_Left, Key_Down, Key_Down}},
//Defensive //Defensive
{ "mortar-sentry", new uint[] { 0x65, Key_Down, Key_Up, Key_Right, Key_Down}}, { "mortar-sentry", new uint[] { 0x65, Key_Down, Key_Up, Key_Right, Key_Down}},
@ -61,6 +63,7 @@ namespace FakeDeck.ButtonType
{ "autocannon", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/c/c6/AC-8_Autocannon_Icon.png"}, { "autocannon", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/c/c6/AC-8_Autocannon_Icon.png"},
{ "grenade-launcher","https://static.wikia.nocookie.net/helldivers_gamepedia/images/6/66/GL-21_Grenade_Launcher_Icon.png"}, { "grenade-launcher","https://static.wikia.nocookie.net/helldivers_gamepedia/images/6/66/GL-21_Grenade_Launcher_Icon.png"},
{ "orbital-precision-strike", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/4/47/Orbital_Precision_Strike_Icon.png"}, { "orbital-precision-strike", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/4/47/Orbital_Precision_Strike_Icon.png"},
{ "orbital-380-barrage", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/f/f4/Orbital_380MM_HE_Barrage_Icon.png"},
{ "mortar-sentry", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/1/1d/A_M-12_Mortar_Sentry_Icon.png"}, { "mortar-sentry", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/1/1d/A_M-12_Mortar_Sentry_Icon.png"},
{ "gatling-sentry","https://static.wikia.nocookie.net/helldivers_gamepedia/images/4/48/A_G-16_Gatling_Sentry_Icon.png"}, { "gatling-sentry","https://static.wikia.nocookie.net/helldivers_gamepedia/images/4/48/A_G-16_Gatling_Sentry_Icon.png"},

View File

@ -13,6 +13,10 @@ function urlencodeFormData(fd){
function resizeGrid(){ function resizeGrid(){
var width = document.body.clientWidth; var width = document.body.clientWidth;
var height = document.body.clientHeight; var height = document.body.clientHeight;
width = window.screen.availWidth;
height = window.screen.availHeight;
var biggerSizeW = (width / 7); var biggerSizeW = (width / 7);
var biggerSizeH = (height / 5); var biggerSizeH = (height / 5);

View File

@ -11,6 +11,50 @@ pages:
- name: Key - name: Key
value: "reinforce" value: "reinforce"
- button: flamethrower
function: HelldiversTwoMacro
parameters:
- name: Key
value: "flamethrower"
- button: anti-material
function: HelldiversTwoMacro
parameters:
- name: Key
value: "anti-material"
- button: spacer
function: FakeDeckMacro
parameters:
- name: Key
value: "spacer"
- name: Color
value: red
- button: spacer
function: FakeDeckMacro
parameters:
- name: Key
value: "spacer"
- name: Color
value: red
- button: spacer
function: FakeDeckMacro
parameters:
- name: Key
value: "spacer"
- name: Color
value: red
- button: spacer
function: FakeDeckMacro
parameters:
- name: Key
value: "spacer"
- name: Color
value: red
- button: strafing-run - button: strafing-run
function: HelldiversTwoMacro function: HelldiversTwoMacro
parameters: parameters:
@ -52,20 +96,23 @@ pages:
parameters: parameters:
- name: Key - name: Key
value: bomb value: bomb
- button: spacer
function: FakeDeckMacro - button: full-screen
parameters:
- name: Key
value: "spacer"
- name: Color
value: orange
- button: spacer
function: FakeDeckMacro function: FakeDeckMacro
parameters: parameters:
- name: Key - name: Key
value: "full-screen" value: "full-screen"
- name: Color - name: Color
value: orange value: orange
- button: spacer
function: FakeDeckMacro
parameters:
- name: Key
value: "spacer"
- name: Color
value: orange
- button: spacer - button: spacer
function: FakeDeckMacro function: FakeDeckMacro
parameters: parameters:
@ -73,6 +120,7 @@ pages:
value: "spacer" value: "spacer"
- name: Color - name: Color
value: red value: red
- button: spacer - button: spacer
function: FakeDeckMacro function: FakeDeckMacro
parameters: parameters:
@ -80,6 +128,7 @@ pages:
value: "spacer" value: "spacer"
- name: Color - name: Color
value: red value: red
- button: spacer - button: spacer
function: FakeDeckMacro function: FakeDeckMacro
parameters: parameters:
@ -87,13 +136,12 @@ pages:
value: "spacer" value: "spacer"
- name: Color - name: Color
value: red value: red
- button: spacer
function: FakeDeckMacro - button: orbital-380-barrage
function: HelldiversTwoMacro
parameters: parameters:
- name: Key - name: Key
value: "spacer" value: orbital-380-barrage
- name: Color
value: red
- button: page - button: page
function: FakeDeckMacro function: FakeDeckMacro