Main > Software Forum
LEDBlinky - Arcade LED Control software and Animation Editor - v8.2
iano:
Hi Arzoo. I have 2 problems with the ledblinky animation editor. My first problem is violation access errors. They occur everytime i try to create a cp layout (by selecting the deviceport-input file). Please see screenshots. The 2nd problem i'm having is i have a trackball with 4 single leds wired to 4 ports of my ledwiz. I have given them mousecodes but when i try to create a cp layout (i did manage to open it once without a violation access error) i only see one led on my cp layout instead of 4 leds. I would like to be able to control the 4 trackball leds individually for animation purposes. Any advice would be great. Thanks for the app.
ian.
:)
[LEDWiz-Device1]
Port01=P1Coin,S,KEYCODE_5
Port04=P1B1,R,KEYCODE_LCONTROL
Port05=P1B1,G,KEYCODE_LCONTROL
Port06=P1B1,B,KEYCODE_LCONTROL
Port07=P1B2,R,KEYCODE_LALT
Port08=P1B2,G,KEYCODE_LALT
Port09=P1B2,B,KEYCODE_LALT
Port10=P1B3,R,KEYCODE_SPACE
Port11=P1B3,G,KEYCODE_SPACE
Port12=P1B3,B,KEYCODE_SPACE
Port13=P1B4,R,KEYCODE_LSHIFT
Port14=P1B4,G,KEYCODE_LSHIFT
Port15=P1B4,B,KEYCODE_LSHIFT
Port21=P1B5,R,KEYCODE_Z
Port22=P1B5,G,KEYCODE_Z
Port23=P1B5,B,KEYCODE_Z
Port24=P1B6,R,KEYCODE_X
Port25=P1B6,G,KEYCODE_X
Port26=P1B6,B,KEYCODE_X
Port27=P1B7,R,KEYCODE_C
Port28=P1B7,G,KEYCODE_C
Port29=P1B7,B,KEYCODE_C
Port30=P1B8,R,KEYCODE_V
Port31=P1B8,G,KEYCODE_V
Port32=P1B8,B,KEYCODE_V
Port17=,S,MOUSECODE_1_UP
Port18=,S,MOUSECODE_1_RIGHT
Port19=,S,MOUSECODE_1_DOWN
Port20=,S,MOUSECODE_1_LEFT
[LEDWiz-Device2]
Port01=P2Coin,S,KEYCODE_6
Port04=P2B1,R,KEYCODE_A
Port05=P2B1,G,KEYCODE_A
Port06=P2B1,B,KEYCODE_A
Port07=P2B2,R,KEYCODE_S
Port08=P2B2,G,KEYCODE_S
Port09=P2B2,B,KEYCODE_S
Port10=P2B3,R,KEYCODE_Q
Port11=P2B3,G,KEYCODE_Q
Port12=P2B3,B,KEYCODE_Q
Port13=P2B4,R,KEYCODE_W
Port14=P2B4,G,KEYCODE_W
Port15=P2B4,B,KEYCODE_W
Port21=P2B5,R,KEYCODE_I
Port22=P2B5,G,KEYCODE_I
Port23=P2B5,B,KEYCODE_I
Port24=P2B6,R,KEYCODE_K
Port25=P2B6,G,KEYCODE_K
Port26=P2B6,B,KEYCODE_K
Port27=P2B7,R,KEYCODE_J
Port28=P2B7,G,KEYCODE_J
Port29=P2B7,B,KEYCODE_J
Port30=P2B8,R,KEYCODE_L
Port31=P2B8,G,KEYCODE_L
Port32=P2B8,B,KEYCODE_L
headkaze:
Arzoo: I just wanted to add that iano's errors are the same I was getting. Sorry I don't have access to my cab at the moment but they are the same errors anyway. They seem to occur when trying to open the deviceport-input or closing the application.
Also that deviceport-input file that iano has posted is generated by my plugin. Can you let me know if I need to do anything different when creating that file? Perhaps it's something in that file your program is not liking?
Thanks mate appreciate your time :)
arzoo:
--- Quote from: iano on January 21, 2008, 09:55:20 pm ---Hi Arzoo. I have 2 problems with the ledblinky animation editor. My first problem is violation access errors. They occur everytime i try to create a cp layout (by selecting the deviceport-input file). Please see screenshots. The 2nd problem i'm having is i have a trackball with 4 single leds wired to 4 ports of my ledwiz. I have given them mousecodes but when i try to create a cp layout (i did manage to open it once without a violation access error) i only see one led on my cp layout instead of 4 leds. I would like to be able to control the 4 trackball leds individually for animation purposes. Any advice would be great. Thanks for the app.
ian.
:)
Port17=,S,MOUSECODE_1_UP
Port18=,S,MOUSECODE_1_RIGHT
Port19=,S,MOUSECODE_1_DOWN
Port20=,S,MOUSECODE_1_LEFT
--- End quote ---
Ian,
Looking at your DevicePort-Input.ini, I noticed that you don't have any port labels defined for ports 17, 18, 19, and 20 on device 1 (the mouse ports). I wonder if that's the problem? I'll look over my code tonight and see what's going on.
By the way - that's an awesome idea to use 4 LEDs under the mouse to indicate up/down/left/right. I only wired three LEDs under my mouse, and they're in a triangle pattern - looks like I'll be reworking that! As long as you provide a different port label for each mouse LED, the animation editor will treat them as separate controls.
arzoo
headkaze:
--- Quote from: arzoo on January 22, 2008, 09:21:04 am ---
--- Quote from: iano on January 21, 2008, 09:55:20 pm ---Hi Arzoo. I have 2 problems with the ledblinky animation editor. My first problem is violation access errors. They occur everytime i try to create a cp layout (by selecting the deviceport-input file). Please see screenshots. The 2nd problem i'm having is i have a trackball with 4 single leds wired to 4 ports of my ledwiz. I have given them mousecodes but when i try to create a cp layout (i did manage to open it once without a violation access error) i only see one led on my cp layout instead of 4 leds. I would like to be able to control the 4 trackball leds individually for animation purposes. Any advice would be great. Thanks for the app.
ian.
:)
Port17=,S,MOUSECODE_1_UP
Port18=,S,MOUSECODE_1_RIGHT
Port19=,S,MOUSECODE_1_DOWN
Port20=,S,MOUSECODE_1_LEFT
--- End quote ---
Ian,
Looking at your DevicePort-Input.ini, I noticed that you don't have any port labels defined for ports 17, 18, 19, and 20 on device 1 (the mouse ports). I wonder if that's the problem? I'll look over my code tonight and see what's going on.
By the way - that's an awesome idea to use 4 LEDs under the mouse to indicate up/down/left/right. I only wired three LEDs under my mouse, and they're in a triangle pattern - looks like I'll be reworking that! As long as you provide a different port label for each mouse LED, the animation editor will treat them as separate controls.
arzoo
--- End quote ---
Arzoo, I just noticed that my plugin generates the following for P1_CUSTOM1, P1_CUSTOM2, P1_CUSTOM3 and P1_CUSTOM4...
Port17=,S,MOUSECODE_1_UP
Port18=,S,MOUSECODE_1_RIGHT
Port19=,S,MOUSECODE_1_DOWN
Port20=,S,MOUSECODE_1_LEFT
Since you didn't have any name that matched my custom ones. Any chance you could add them in for the case when someone needs 4 inputs for the trackball?
Or maybe we should make it P1_TRACKBALL1, P1_TRACKBALL2, P1_TRACKBALL3 & P1_TRACKBALL4?
arzoo:
hk,
The port label (1st value in comma separated string) can be anything you want - it's just a tag to help identify each button and it also ties together the RGB ports. Also, the 3rd value is the input code and that's only required for my LEDBlinky app. So if you're only using the animation editor, you don't need to specify any input code. This should work fine:
Port17=P1_TRACKBALL1,S,
Port18=P1_TRACKBALL2,S,
Port19=P1_TRACKBALL3,S,
Port20=P1_TRACKBALL4,S,
OR this:
Port17=MOUSE_UP,S,
Port18=MOUSE_DOWN,S,
Port19=MOUSE_LEFT,S,
Port20=MOUSE_RIGHT,S,
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version