Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value type error in config.json #9

Closed
AirSouthN opened this issue Jan 30, 2019 · 2 comments
Closed

Value type error in config.json #9

AirSouthN opened this issue Jan 30, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@AirSouthN
Copy link

what I did : because the mouse is a bit big for my bongo cat, I set 0.5 as scalar value.
version : Version 1.4.0 final (x64)
I get value type error in config.json when opening bongo.exe
would you mind helping me?
////////////////////////////(config.json)////////////////////////////
{
"mode": 1,
"decoration": {
"leftHanded": false,
"rgb": [255, 255, 255],
"offsetX": [20, 11],
"offsetY": [20, -65],
"scalar": [0.5, 1]
}
}
////////////////////////////

// here is my (old) setting for bongo_cat_cam_v2
mouse.png x offset: 20
mouse.png y offset: 20
mouse.png scalar: 0.5

tablet.png x offset: 11
tablet.png y offset: -65
tablet.png scalar: 1
////////////////////////////

sorry for my poor english >_<

@kuroni kuroni closed this as completed in 44de3b3 Jan 30, 2019
@kuroni
Copy link
Owner

kuroni commented Jan 30, 2019

Thank you for the report! It seems that I have mistakenly used int instead of double for scaling factor :p The new release should fix the problem.

Note: In the new release, change the scalar from [0.5, 1] to [0.5, 1.0].

@kuroni kuroni self-assigned this Jan 30, 2019
@kuroni kuroni added the bug Something isn't working label Jan 30, 2019
@ZarathustraZzz
Copy link

dear friend,could you please tell me how to open the “config.json”😶😶..I just cannot find the file and cannot set the configuration...Thx!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants