Re: [Pharo-users] SDL2SpecialCharacterMapping problem

2018-04-19 Thread alvaro piorno
Thank you very much 2018-04-19 3:34 GMT-03:00 Esteban Lorenzano : > Hi again, > > well, the problem is that 64bit images are translated from a 32bit version > and some particular dictionaries need to be rehashed. > > 1073741904 is a long integer in 32bit and a small integer in 64bit ;) > > If you

Re: [Pharo-users] SDL2SpecialCharacterMapping problem

2018-04-18 Thread Esteban Lorenzano
Hi again, well, the problem is that 64bit images are translated from a 32bit version and some particular dictionaries need to be rehashed. 1073741904 is a long integer in 32bit and a small integer in 64bit ;) If you execute this: SDL2Structure allSubclassesDo: #compileFields. OSWindowMorphi

Re: [Pharo-users] SDL2SpecialCharacterMapping problem

2018-04-18 Thread alvaro piorno
Ok, waiting for your answer. Thnks. 2018-04-18 16:10 GMT-03:00 Esteban Lorenzano : > In fact, I have the answer. > But I’m afk, I will answer later, sorry :) > > On 18 Apr 2018, at 21:00, alvaro piorno wrote: > > Hi Ben, > The thing is that i found that the problem can be reproduced without my >

Re: [Pharo-users] SDL2SpecialCharacterMapping problem

2018-04-18 Thread Esteban Lorenzano
In fact, I have the answer. But I’m afk, I will answer later, sorry :) > On 18 Apr 2018, at 21:00, alvaro piorno wrote: > > Hi Ben, > The thing is that i found that the problem can be reproduced without my code. > > > ​ > The class has a class variable named "Mappings" (photo shows an inspecto

Re: [Pharo-users] SDL2SpecialCharacterMapping problem

2018-04-01 Thread Ben Coman
Hi Alvaro, This is not an area I've been involved in, but just a general comment... Can you export a self contained example from your code that can be loaded into a fresh Image that demonstrate the problem? Its always easier if people can see the problem with their own eyes. Also, what version O

[Pharo-users] SDL2SpecialCharacterMapping problem

2018-03-31 Thread alvaro piorno
Hi, Iam having a problem handling some OSKeywordEvents. These events should have character associated. The mapping is resolved by SDL2SpecialCharacterMapping using a dictionary(Mappings), it has the mapping, for example, for left arrow and right arrow. It resolve correctly for "left arrow" with