shoes / shoes3

a tiny graphical app kit for ruby
http://walkabout.mvmanila.com
Other
179 stars 19 forks source link

keyup and keydown not working on masOs #462

Open jhabril opened 4 years ago

ccoupe commented 4 years ago

Yes. Shoes does not handle keyup/keydown on OSX. Cocoa provides keydown and keyup events, but not the 'keypressed' distinction of Shoes. So, osx.keydown had to map to Shoes.keypress. It's not likely to be fixed. Sorry.

jhabril commented 4 years ago

Can keyup event be handle by other method or code?

ccoupe commented 4 years ago

It takes an Objective C programmer who know Cocoa and Shoes internals. There is no work around.