Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Commit

Permalink
Version 0.2.2
Browse files Browse the repository at this point in the history
Add "Pointed away" profile, add another comma to template config
  • Loading branch information
v1993 committed Feb 2, 2020
1 parent 95f7354 commit eb91ab4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
// Calibration data for your WiiMotes (example is for my). Use `./autocalibrate.lua` to figure out first three values
// and PadTest for last three (-1/1). One in middle can be left zero.
"Calibration": {
0x0005057E0330: [235, 1395, 223, 0, 1, 1, 1]
0x0005057E0330: [235, 1395, 223, 0, 1, 1, 1],
},

// For information on how to create custom profile, read GitHub wiki
// Add new profiles below this line
}
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]]--

if arg[1] == '--version' then
print('0.2.1')
print('0.2.2')
return true
elseif arg[1] == '--help' then
print[[
Expand Down
14 changes: 14 additions & 0 deletions presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,20 @@
}
},

"Pointed away": {
"basedOn": "Vertical",

"accel": {
"y": ["z", -1],
"z": ["y", 1]
},

"gyro": {
"y": ["x", 1],
"r": ["y", 1]
}
},

"Horizontal": {
"basedOn": "base",

Expand Down

0 comments on commit eb91ab4

Please sign in to comment.