I've moved stuff to a new project and there was the same issue, so it definitely has to be something with the emulator dll.
I have no idea where's the source of trouble.
Hmm... Since it does work for you ~ could you lend me your dll/configuration file with your settings? I'd check stuff out.
By the way, that's the scene, where I'm testing Input from pads:
I have no idea where's the source of trouble.
Hmm... Since it does work for you ~ could you lend me your dll/configuration file with your settings? I'd check stuff out.
By the way, that's the scene, where I'm testing Input from pads:
Code:
class Scene_Test < Scene_Base
#-----------------------------------------------------------------------------
# >>> Start Processing
#-----------------------------------------------------------------------------
def start
super
create_text
end
#-----------------------------------------------------------------------------
# >>> Create Text
#-----------------------------------------------------------------------------
def create_text
@v1 = 0
@v2 = 0
@text = Sprite.new
@text.bitmap = Bitmap.new(640,480)
@text.bitmap.draw_text(150, 220, 450, 30, "PLAYER 1 PLAYER 2")
@text.bitmap.draw_text(100, 290, 450, 30, "PRESS KEYS TO CHANGE NUMBERS")
@text1 = Sprite.new
@text1.bitmap = Bitmap.new(100, 30)
@text1.x = 160
@text1.y = 250
@text1.bitmap.font.color = Color.new(0,255,255)
@text1.bitmap.draw_text(0, 1, 100, 30, @v1, 1)
@text2 = Sprite.new
@text2.bitmap = Bitmap.new(100, 30)
@text2.x = 330
@text2.y = 250
@text2.bitmap.font.color = Color.new(0,255,255)
@text2.bitmap.draw_text(0, 1, 100, 30, @v2, 1)
end
def update_text
@text1.bitmap.clear
@text1.bitmap.draw_text(0, 1, 100, 30, @v1, 1)
@text2.bitmap.clear
@text2.bitmap.draw_text(0, 1, 100, 30, @v2, 1)
end
#-----------------------------------------------------------------------------
# >>> Update
#-----------------------------------------------------------------------------
def update
super
if WolfPad.trigger?(:UP, 0) || WolfPad.trigger?(:L_UP, 0)
@v1 += 10; update_text; end
if WolfPad.trigger?(:DOWN, 0) || WolfPad.trigger?(:L_DOWN, 0)
@v1 -= 10; update_text; end
if WolfPad.trigger?(:LEFT, 0) || WolfPad.trigger?(:L_LEFT, 0)
@v1 -= 1; update_text; end
if WolfPad.trigger?(:RIGHT, 0) || WolfPad.trigger?(:L_RIGHT, 0)
@v1 += 1; update_text; end
if WolfPad.trigger?(:A, 0)
@v1 += 100; update_text; end
if WolfPad.trigger?(:X, 0)
@v1 -= 100; update_text; end
if WolfPad.trigger?(:START, 0)
@v1 += 333; update_text; end
if WolfPad.trigger?(:SELECT, 0)
@v1 -= 333; update_text; end
if WolfPad.trigger?(:UP, 1) || WolfPad.trigger?(:L_UP, 1)
@v2 += 10; update_text; end
if WolfPad.trigger?(:DOWN, 1) || WolfPad.trigger?(:L_DOWN, 1)
@v2 -= 10; update_text; end
if WolfPad.trigger?(:LEFT, 1) || WolfPad.trigger?(:L_LEFT, 1)
@v2 -= 1; update_text; end
if WolfPad.trigger?(:RIGHT, 1) || WolfPad.trigger?(:L_RIGHT, 1)
@v2 += 1; update_text; end
if WolfPad.trigger?(:A, 1)
@v2 += 100; update_text; end
if WolfPad.trigger?(:X, 1)
@v2 -= 100; update_text; end
if WolfPad.trigger?(:START, 1)
@v2 += 333; update_text; end
if WolfPad.trigger?(:SELECT, 1)
@v2 -= 333; update_text; end
end
#-----------------------------------------------------------------------------
# >>> Terminate
#-----------------------------------------------------------------------------
def terminate
super
dispose_graphics
end
#-----------------------------------------------------------------------------
# >>> Dispose
#-----------------------------------------------------------------------------
def dispose_graphics
instance_variables.each do |varname|
ivar = instance_variable_get(varname)
if ivar.is_a?(Sprite)
ivar.bitmap.dispose
ivar.dispose
end
end
end
end